On Tue, 05 Jul 2011 21:16:55 +0200, Daniel Veditz <dved...@mozilla.com> wrote:
The "fix" for the spec would be to drop the line

   Once the end of the file is reached, the user agent must
   dispatch the event one final time, as defined below.

For clarity something explicit could be added

   If the end of the file is reached while collecting
   data and before encountering a blank line the incomplete
   event must not be dispatched.

The ABNF in http://dev.w3.org/html5/eventsource/#parsing-an-event-stream would also need updating.


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

Reply via email to