W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2008

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

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 10 Oct 2008 21:18:55 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0810102054020.1041@hixie.dreamhostps.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 10 October 2008 14:18:55 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:06 UTC