Re: [whatwg] Question regarding event: in server-sent events

2010-10-19 Thread Anne van Kesteren
On Mon, 18 Oct 2010 19:38:46 +0200, Nicholas Zakas nza...@yahoo-inc.com wrote: Just for my own understanding, what you're saying is: 1) Any event name in the stream must be a valid event name in that it must not have spaces, special characters, etc. (The wording in the spec made me think

Re: [whatwg] Question regarding event: in server-sent events

2010-10-18 Thread Nicholas Zakas
do not require them to. -Original Message- From: Anne van Kesteren [mailto:ann...@opera.com] Sent: Friday, October 15, 2010 11:42 AM To: wha...@whatwg.org; Nicholas Zakas Subject: Re: [whatwg] Question regarding event: in server-sent events On Fri, 15 Oct 2010 20:34:14 +0200, Nicholas Zakas

[whatwg] Question regarding event: in server-sent events

2010-10-15 Thread Nicholas Zakas
In reading through the spec, it looks like this is legal in the event stream: event: foo data: bar And then processed as: If the event name buffer is not the empty string but is also not a valid event type name, as defined by the DOM Events specification, set the data buffer and the event

Re: [whatwg] Question regarding event: in server-sent events

2010-10-15 Thread Anne van Kesteren
On Fri, 15 Oct 2010 20:34:14 +0200, Nicholas Zakas nza...@yahoo-inc.com wrote: In reading through the spec, it looks like this is legal in the event stream: event: foo data: bar And then processed as: If the event name buffer is not the empty string but is also not a valid event type