Skip to content


Extract a MIME type no longer returns bytes
Browse files Browse the repository at this point in the history
This aligns with the changes made in whatwg/fetch#831. Fortunately the remainder of the prose already assumed it got a MIME type record rather than bytes.
  • Loading branch information
annevk committed Mar 24, 2019
1 parent dbbd77c commit cf97f4e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions
Original file line number Diff line number Diff line change
Expand Up @@ -1280,8 +1280,7 @@ transfer-encoding: chunked</code></pre>
<li><p>Let <var>mimeType</var> be the result of <a for="header list">extracting a MIME type</a>
from <a>response</a>'s <a for=response>header list</a>.

<li><p>If <var>mimeType</var> is the empty byte sequence, then set <var>mimeType</var> to
<li><p>If <var>mimeType</var> is failure, then set <var>mimeType</var> to <code>text/xml</code>.

<li><p>Return <var>mimeType</var>.
Expand Down

0 comments on commit cf97f4e

Please sign in to comment.