- From: poot <cvsmail@w3.org>
- Date: Thu, 03 Feb 2011 18:44:12 -0500
- To: public-html-diffs@w3.org
SSE; hixie: xref (whatwg r5832) http://dev.w3.org/cvsweb/html5/eventsource/Overview.html?r1=1.158&r2=1.159&f=h http://html5.org/tools/web-apps-tracker?from=5831&to=5832 =================================================================== RCS file: /sources/public/html5/eventsource/Overview.html,v retrieving revision 1.158 retrieving revision 1.159 diff -u -d -r1.158 -r1.159 --- Overview.html 3 Feb 2011 23:32:46 -0000 1.158 +++ Overview.html 3 Feb 2011 23:41:59 -0000 1.159 @@ -531,11 +531,11 @@ </ul><p>These values are not currently exposed on the interface.<h2 id="processing-model"><span class="secno">5 </span>Processing model</h2><p>The resource indicated in the argument to the <code title="dom-EventSource"><a href="#dom-eventsource">EventSource</a></code> constructor is <span title="fetch">fetched</span> when the constructor is run.<p>For HTTP connections, the <code title="">Accept</code> header may be included; if included, it must contain only formats of event framing that are supported by the user agent (one of which must be - <code><a href="#text-event-stream">text/event-stream</a></code>, as described below).<p>If the event source's last event ID string is not the empty - string, then a <code title="http-last-event-id"><a href="#last-event-id">Last-Event-ID</a></code> - HTTP header must be included with the request, whose value is the - value of the event source's last event ID string, encoded as - UTF-8.<p>User agents should use the <code>Cache-Control: no-cache</code> + <code><a href="#text-event-stream">text/event-stream</a></code>, as described below).<p>If the event source's <a href="#concept-event-stream-last-event-id" title="concept-event-stream-last-event-id">last event ID + string</a> is not the empty string, then a <code title="http-last-event-id"><a href="#last-event-id">Last-Event-ID</a></code> HTTP header must be + included with the request, whose value is the value of the event + source's <a href="#concept-event-stream-last-event-id" title="concept-event-stream-last-event-id">last event + ID string</a>, encoded as UTF-8.<p>User agents should use the <code>Cache-Control: no-cache</code> header in requests to bypass any caches for requests of event sources. User agents should ignore HTTP cache headers in the response, never caching event sources.<hr><p>As data is received, the <span title="concept-task">tasks</span>
Received on Thursday, 3 February 2011 23:44:14 UTC