[whatwg] Server-Sent Events parsing issue
Anne van Kesteren
annevk at opera.com
Thu Nov 25 11:03:05 PST 2010
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/
More information about the whatwg
mailing list