-
Notifications
You must be signed in to change notification settings - Fork 328
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
Ensure scheme fetch always returns a response with an actual body #1505
Conversation
This depends on w3c/FileAPI#182. Together with #1505 this fixes #1504.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -4569,7 +4569,8 @@ steps: | |||
"<code>blank</code>", then return a new <a for=/>response</a> whose | |||
<a for=response>status message</a> is `<code>OK</code>`, <a for=response>header list</a> is « | |||
(`<code>Content-Type</code>`, `<code>text/html;charset=utf-8</code>`) », and | |||
<a for=response>body</a> is the empty byte sequence. | |||
<a for=response>body</a> is the <a for="body with type">body</a> of the result of | |||
<a for=BodyInit>safely extracting</a> the empty byte sequence. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A shortcut for this would be appreciated, for use in HTML as well. Basically body-from-byte-sequence. It looks like you could use it below too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Helps with #1504.
Preview | Diff