diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2019-12-22 11:12:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-22 11:12:56 -0500 |
commit | 43a5f65940f85a30ba3f7fb9cbb96b194cde81b6 (patch) | |
tree | 841a9afe8ebd27e56c6f83df044f1ebb1629b7a2 /components/script/dom/macros.rs | |
parent | 3e77a0ae09daf28c0a102add5a198bff08befe31 (diff) | |
parent | b9c4b64978dcd1b4e767f8ca6ed07a06902c4c5b (diff) | |
download | servo-43a5f65940f85a30ba3f7fb9cbb96b194cde81b6.tar.gz servo-43a5f65940f85a30ba3f7fb9cbb96b194cde81b6.zip |
Auto merge of #25359 - pshaughn:auto_ct_header, r=jdm
Autocomputed content-type header now reaches net request
The spec expects that for a DOM Request r, r.headers and r.request can actually refer to the same header list in RAM, with changes to one affecting the other. This is mostly unobservable, but it happens to come up at the point in the Request constructor that auto-infers a content type from the body, so now after inferring the content type it injects it into both header lists instead of one.
Remaining test failures are due to the way Hyper crates normalize semicolons in MIME types, and an actually separate problem about content-lengths that I haven't sniffed out yet.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix some WPT results from #24904
<!-- Either: -->
- [X] There are tests for these changes
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Diffstat (limited to 'components/script/dom/macros.rs')
0 files changed, 0 insertions, 0 deletions