Bug 169420 - XMLHttpRequest: request body dropped during redirects
Summary: XMLHttpRequest: request body dropped during redirects
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-09 10:10 PST by Anne van Kesteren
Modified: 2017-12-15 03:00 PST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anne van Kesteren 2017-03-09 10:10:52 PST
See https://github.com/w3c/web-platform-tests/pull/5070 (XMLHttpRequest/send-redirect-to-cors.htm in web-platform-tests) for tests.
Comment 1 Alexey Proskuryakov 2017-03-13 09:51:55 PDT
This may need some vetting. I believe that WebKit behavior for each specific HTTP redirect response code has been looked at in the past, and is intentional.
Comment 2 Andrey Povazhnyi 2017-12-15 03:00:46 PST
Interestingly, Fetch API call doesn't just drop request body, but sets it to "{}" after redirect