New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 601732 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Buried. Ping if important.
Closed: Apr 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

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
 
Screenshot 2016-04-08 17.02.29.png
303 KB View Download
Screenshot 2016-04-08 17.04.48.png
387 KB View Download
Components: -Blink Blink>FetchAPI
Cc: mkwst@chromium.org
Components: -Blink>FetchAPI Blink>Network>FetchAPI
Thank you for reporting. Can you test with 52.0.2705? I think https://chromium.googlesource.com/chromium/src/+/93a08a4b973b9cca6f7f3d182d9a13102755da2b fixed this problem.

Comment 3 by inian1...@gmail.com, Apr 11 2016

Yes, that fixes the problem :)
Cc: -mkwst@chromium.org
Owner: mkwst@chromium.org
Status: Fixed (was: Unconfirmed)
Thanks!

Sign in to add a comment