[whatwg] HTML5 - Server-Sent Events Implementation for Mozilla
Ian Hickson
ian at hixie.ch
Fri Oct 10 14:18:55 PDT 2008
On Fri, 10 Oct 2008, Boris Zbarsky wrote:
> Ian Hickson wrote:
> > 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.
>
> So in practice until page reload, right?
Or until the URL is added in another <eventsource> element, or
addEventSource(), with the same URL, sure.
> Why are DNS errors different from under underlying network layer errors
> here?
The intent is for DNS and HTTP 4xx (except auth errors) or 5xx errors to
be treated the same way. I'll try to make the spec clearer about this.
> Also, that still leaves the question of 2xx responses that aren't
> explicitly mentioned in the spec. Those should be treated as 200 in my
> opinion.
There aren't any yet in HTTP. For future 2xx codes, I agree that it would
make sense to treat them like 200 OK, so I'll update the spec in due
course. (I'm working on forms right now, but that should be done soon.)
--
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