W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2011

Re: [eventsource] Moving Server-sent Events spec back to Last Call

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 10 Mar 2011 16:47:55 +0100
To: "Ian Hickson" <ian@hixie.ch>
Cc: "Arthur Barstow" <art.barstow@nokia.com>, public-webapps <public-webapps@w3.org>
Message-ID: <op.vr4wt4s064w2qv@anne-van-kesterens-macbook-pro.local>
On Mon, 07 Mar 2011 20:06:25 +0100, Ian Hickson <ian@hixie.ch> wrote:
> Zero, one or two BOMs before an event.
>
> Parsing of comments with zero, one, or 2049 bytes of content, on either
> side of a real field.
>
> Handling of unknown fields. Handling of fields with names similar to but
> not identical to valid fields, in particular with spaces, hyphens,
> underscares, nulls where they're not expected; with uppercase names
> instead of lowercase ones; with turkish upper-case dotted Is where a
> lowercase i is expected.
>
> Fields with and without value parts, for each allowed field and for
> illegal fields. Fields with and without spaces after their colons.
>
> End of line handling: cr/lf/cr, lf/cr/lf, etc.
>
> Event dispatch when the last field ends with eof.
>
> Nulls in values. Surrogate halves in field names and values. UTF-8 errors
> in field names and values.
>
> "Retry" field with leading zeros that are binary and octal (011, 071),
> with hex values (0x01), with non-numeric trailing garbage (123x).

http://tc.labs.opera.com/apis/EventSource/format-bom-2.htm
http://tc.labs.opera.com/apis/EventSource/format-comments.htm
http://tc.labs.opera.com/apis/EventSource/format-field-parsing.htm
http://tc.labs.opera.com/apis/EventSource/format-field-retry-bogus.htm
http://tc.labs.opera.com/apis/EventSource/format-field-retry.htm

This does not cover everything you suggested though, but does cover quite  
a bit. Patches accepted for the rest.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Thursday, 10 March 2011 15:48:42 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:43 GMT