[whatwg] HTML5 - Server-Sent Events Implementation for Mozilla

Ian Hickson ian at hixie.ch
Fri Oct 10 12:03:12 PDT 2008

On Fri, 10 Oct 2008, Wellington Fernando de Macedo wrote:
> Some questions has been raised since the comment #75 
> (https://bugzilla.mozilla.org/show_bug.cgi?id=338583#c75). We would like 
> to know what exactly mean "cause the user agent to stop trying to 
> process this event source". The current patch, as it is, stop fetching 
> the eventsources' URI until the browser is closed when it gets DNS 
> errors, wrong content type and invalid http response codes.  However 
> Boris Zbarsky thinks there is no reason to prohibit all future 2xx 
> codes. Also, he thinks that preventing all future requests makes no 
> sense, because transient errors can occur. Can you help us, please?

It just means "do nothing" (including not automatically retrying). If the 
event source is reregistered, then it should go through the same process 
again; the error response doesn't block that URL for all time.

I'll clarify the spec.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list