- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 04 Oct 2011 23:37:11 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/eventsource In directory hutz:/tmp/cvs-serv16601 Modified Files: Overview.html Log Message: Mention HTTP codes in the intro. (whatwg r6628) Index: Overview.html =================================================================== RCS file: /sources/public/html5/eventsource/Overview.html,v retrieving revision 1.197 retrieving revision 1.198 diff -u -d -r1.197 -r1.198 --- Overview.html 4 Oct 2011 19:58:34 -0000 1.197 +++ Overview.html 4 Oct 2011 23:37:09 -0000 1.198 @@ -364,7 +364,10 @@ data: This is the second message, it data: has two lines. -data: This is the third message.</pre><p>Using this API rather than emulating it using +data: This is the third message.</pre><p>Event streams requests can be redirected using HTTP 301 and 307 + redirects as with normal HTTP requests. Clients will reconnect if + the connection is closed; a client can be told to stop reconnecting + using the HTTP 204 No Content response code.<p>Using this API rather than emulating it using <code>XMLHttpRequest</code> or an <code>iframe</code> allows the user agent to make better use of network resources in cases where the user agent implementor and the network operator are able to
Received on Tuesday, 4 October 2011 23:37:12 UTC