Steps to reproduce
Continuation of https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/7773267/, nobody ever checked DELETE.
Comments and activity
By the way, please treat this bug as High severity - note that the most-commonly used
fetchpolyfill, https://www.npmjs.com/package/whatwg-fetch, has had 2.3 million downloads in the past month. This polyfill simply checks for the existence of window.fetch(), and has no way to know these requests are broken. Every site that uses this polyfill and a DELETE request body is broken on Edge 14, and there are many.
Bug confirmed reproduced using RS1 1607 14949.1000. See attached screenshot showing different output for both content-length and body between Firefox, Chrome, and Edge for the DELETE method. In the case of Edge, content-length is null and the body is empty.
git clone https://github.com/STRML/fetch-put-patch-demo.git
Then open localhost:9292 in a browser.
- Microsoft Edge Team
Changed Assigned To to “Brad E.”
Changed Assigned To to “Travis L.”
Changed Title from “Null Content-Length on DELETE requests with Body” to “null Content-Length and empty body on DELETE requests”
Changed Assigned To from “Travis L.” to “Brandon M.”
Changed Status to “Confirmed”
Changed Status from “Confirmed” to “In code review”
Changed Status from “In code review” to “Fixed”
Thank you for providing this information about the issue. We are pleased to report this feature is fixed in Edge 15063 and is available in our latest Insider Preview build.
The MS Edge Team
To verify, the fix for this is on Edge 15 but not 14? Will Edge 14 also be fixed to support body on DELETE?