mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
Auto merge of #24670 - glowe:add-crlf-to-boundary, r=Manishearth
Add CRLF to encoded multipart form data <!-- Please describe your changes on the following line: --> Some (3) WPT tests were failing because they expected the body for a multipart form data response to end with a CRLF. So I updated encode_multipart_form_data to add the missing terminator. Looking at the corresponding spec (https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#multipart%2Fform-data-encoding-algorithm) and RFC (https://tools.ietf.org/html/rfc7578), I couldn't find anything mentioned about this detail. --- <!-- 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 <!-- 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. -->
This commit is contained in:
commit
3db473714b
4 changed files with 3 additions and 12 deletions
|
@ -18499,7 +18499,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"mozilla/FileAPI/resource/file-submission.py": [
|
||||
"24d5129eb8d38c9415622c78ed401ae344273ce1",
|
||||
"79e72fb99a95c186e4916b40627ee762d694b8ea",
|
||||
"support"
|
||||
],
|
||||
"mozilla/FileAPI/resource/upload.txt": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue