[whatwg] Server-Sent Events parsing issue

On Thu, 25 Nov 2010 18:21:35 +0100, ATSUSHI TAKAYAMA  
<taka.atsushi at googlemail.com> wrote:
> I would say the simpler the rule is, the better.
> So a line without colon should be ignored.
> Also for the example in the spec;
> -a single "data:" line followed by an empty line should fire a message
> event with an empty string data, and
> -two "data:" lines followed by an empty line should fire a message
> event with an LF as data
> (push every line followed by an LF, then remove the last LF and fire it)

That works for me. Hixie? People from WebKit?


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Thursday, 25 November 2010 11:03:05 UTC