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

On Thu, 10 Mar 2011, Anne van Kesteren wrote:
> 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.

Can I ask you to create a "TODO" file in that directory that lists the 
cases I suggested that aren't tested? That way at least my ideas don't get 
lost, even if we don't have tests for them straight away. :-)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 10 March 2011 20:07:16 UTC