Skip to content

Commit 22a75e2

Browse files
committed
nits
1 parent 07c0536 commit 22a75e2

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

source

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34548,7 +34548,7 @@ interface <dfn interface>MediaError</dfn> {
3454834548
<span>media element</span>'s <span>node document</span>'s <span>relevant settings
3454934549
object</span>.</p>
3455034550

34551-
<!--FETCH--><p><span data-x="concept-fetch">Fetch</span> <var>request</var>. </p>
34551+
<!--FETCH--><p><span data-x="concept-fetch">Fetch</span> <var>request</var>.</p>
3455234552

3455334553
<p>The <var>response</var>'s <span>unsafe response</span> obtained in this fashion, if any,
3455434554
contains the <span>media data</span>. It can be <span>CORS-same-origin</span> or
@@ -100100,7 +100100,7 @@ dictionary <dfn dictionary>EventSourceInit</dfn> {
100100100100
<span data-x="concept-response">response</span> <var>res</var> be the following step:
100101100101
If <var>res</var> is not a <span>network error</span>, then
100102100102
<var>finalizeEventSourceFetch</var> with <var>res</var>, and
100103-
<span>reestablish the connection</span>.
100103+
<span>reestablish the connection</span>.</p></li>
100104100104

100105100105
<li>
100106100106
<p><span data-x="concept-fetch">Fetch</span> <var>request</var> with
@@ -100113,21 +100113,13 @@ dictionary <dfn dictionary>EventSourceInit</dfn> {
100113100113
<span>fail the connection</span>.</p></li>
100114100114

100115100115
<li><p>Otherwise, if <var>res</var> is a <span>network error</span>, then
100116+
call <var>finalizeEventSourceFetch</var> given <var>res</var>, and
100116100117
<span>reestablish the connection</span>, unless the user agent knows that to be futile, in
100117100118
which case the user agent may <span>fail the connection</span>.</p></li>
100118100119

100119100120
<li><p>Otherwise, if <var>res</var>'s <span data-x="concept-response-status">status</span> is
100120100121
not 200, or if <var>res</var>'s `<code>Content-Type</code>` is not
100121100122
`<code>text/event-stream</code>`, then <span>fail the connection</span>.</p>
100122-
<!-- including: HTTP 201 Created, 202 Accepted, 203 Non-Authoritative Information, 204 No
100123-
Content, 205 Reset Content, 206 Partial Content, 300 Multiple Choices, 304 Not Modified,
100124-
400 Bad Request, 403 Forbidden, 404 Not Found, 405 Method Not Allowed, 406 Not Acceptable, 408
100125-
Request Timeout, 409 Conflict, 410 Gone, 411 Length Required, 412 Precondition Failed, 413
100126-
Request Entity Too Large, 414 Request-URI Too Long, 415 Unsupported Media Type, 416 Requested
100127-
Range Not Satisfiable, 417 Expectation Failed, HTTP 500 Internal Server Error, 501 Not
100128-
Implemented, 502 Bad Gateway, 503 Service Unavailable, and 504 Gateway Timeout responses, and
100129-
505 HTTP Version Not Supported responses --> <!-- mailto: is defined as equivalent to HTTP
100130-
204 --><!-- about:blank is defined as having no MIME type -->
100131100123

100132100124
<li><p>Otherwise, <span>announce the connection</span> and
100133100125
<a href="#event-stream-interpretation">interpret</a> <var>res</var>'s

0 commit comments

Comments
 (0)