Specifying 'credentials' option disables body of POST requests in fetch API
Reported by
inian1...@gmail.com,
Apr 8 2016
|
|||
Issue description
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36
Steps to reproduce the problem:
1. Make a fetch POST request to any URL which endpoint with 'credentials' set to any value ('same-origin', 'include' or 'omit')
2. The post body is not sent with the request (see attachment)
What is the expected behavior?
The post request should send the request body to the server. Is working in the stable version of Chrome
What went wrong?
My first attachment shows the request body being sent.
The second attachment shows the request body not being sent (when the credentials option is specified)
Did this work before? Yes Works in Version 49.0.2623.112 (64-bit)
Chrome version: 51.0.2702.2 Channel: canary
OS Version: OS X 10.11.4
Flash Version: Shockwave Flash 21.0 r0
,
Apr 11 2016
Thank you for reporting. Can you test with 52.0.2705? I think https://chromium.googlesource.com/chromium/src/+/93a08a4b973b9cca6f7f3d182d9a13102755da2b fixed this problem.
,
Apr 11 2016
Yes, that fixes the problem :)
,
Apr 11 2016
Thanks! |
|||
►
Sign in to add a comment |
|||
Comment 1 by dtapu...@chromium.org
, Apr 9 2016