-
Notifications
You must be signed in to change notification settings - Fork 330
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
Be strict on request's Content-Type #829
Conversation
Tests: web-platform-tests/wpt#13921. Helps with #814.
<li><p>If <var>mimeType</var>'s <a for="MIME type">essence</a> is not | ||
"<code>application/x-www-form-urlencoded</code>", "<code>multipart/form-data</code>", or | ||
"<code>text/plain</code>", then return false. | ||
</ol> |
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.
It would be good to add a note here illustrating that this is very different from how response Content-Type is parsed, but maybe that should wait until that's actually defined properly.
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.
I'll do this as part of #529.
Bugs:
I plan on merging this soonish, unless someone volunteers to review. |
Following the corresponding spec change: whatwg/fetch#829 Bug: 902681 Change-Id: If0da598ada489417c34926935acdd3cfff519aa7 Reviewed-on: https://chromium-review.googlesource.com/c/1329815 Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org> Commit-Queue: Yutaka Hirano <yhirano@chromium.org> Cr-Commit-Position: refs/heads/master@{#607847}
…eader, a=testonly Automatic update from web-platform-testsFetch: CORS and request's Content-Type header For whatwg/fetch#829. -- wpt-commits: eed621bc2f995bced9481df2cead4c4632c72cdd wpt-pr: 13921
…eader, a=testonly Automatic update from web-platform-testsFetch: CORS and request's Content-Type header For whatwg/fetch#829. -- wpt-commits: eed621bc2f995bced9481df2cead4c4632c72cdd wpt-pr: 13921
…eader, a=testonly Automatic update from web-platform-testsFetch: CORS and request's Content-Type header For whatwg/fetch#829. -- wpt-commits: eed621bc2f995bced9481df2cead4c4632c72cdd wpt-pr: 13921 UltraBlame original commit: 7f3034a3afb3e49f04faf7b21bf4bc7c597e285c
…eader, a=testonly Automatic update from web-platform-testsFetch: CORS and request's Content-Type header For whatwg/fetch#829. -- wpt-commits: eed621bc2f995bced9481df2cead4c4632c72cdd wpt-pr: 13921 UltraBlame original commit: 7f3034a3afb3e49f04faf7b21bf4bc7c597e285c
…eader, a=testonly Automatic update from web-platform-testsFetch: CORS and request's Content-Type header For whatwg/fetch#829. -- wpt-commits: eed621bc2f995bced9481df2cead4c4632c72cdd wpt-pr: 13921 UltraBlame original commit: 7f3034a3afb3e49f04faf7b21bf4bc7c597e285c
Tests: web-platform-tests/wpt#13921.
Helps with #814.