Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
noamr committed Feb 21, 2022
1 parent 07c0536 commit 22a75e2
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -34548,7 +34548,7 @@ interface <dfn interface>MediaError</dfn> {
<span>media element</span>'s <span>node document</span>'s <span>relevant settings
object</span>.</p>

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

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

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

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

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

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

0 comments on commit 22a75e2

Please sign in to comment.