Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formalize reading bodies #1172

Merged
merged 3 commits into from
Feb 24, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 2 additions & 3 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1311,7 +1311,7 @@ the empty string,
* CSP: https://w3c.github.io/webappsec-csp/#effective-directive-for-a-request
* Mixed Content: https://w3c.github.io/webappsec-mixed-content/#should-block-fetch
* Preload: https://w3c.github.io/preload/#processing
* SRI: https://w3c.github.io/webappsec-subresource-integrity/#apply-algorithm-to-request
* SRI
* HTML -->

<p>A <a for=/>request</a>'s <a for=request>destination</a> is
Expand Down Expand Up @@ -3632,8 +3632,7 @@ steps:
<p>Let <var>processBody</var> given <var>bytes</var> be these steps:

<ol>
<li><p>If <var>bytes</var> do not
<a href=https://w3c.github.io/webappsec-subresource-integrity/#does-response-match-metadatalist>match</a>
<li><p>If <var>bytes</var> do not <a lt="Do bytes match metadataList?">match</a>
<var>request</var>'s <a for=request>integrity metadata</a>, then run
<var>processBodyError</var> and abort these steps. [[!SRI]]

Expand Down