[Webkit-unassigned] [Bug 247970] Can't make XHR request because of Content-Lenght header in GET request

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 15 22:51:08 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=247970

--- Comment #1 from Martin Myhrman <martin.myhrman at volvocars.com> ---
The request sen has a header that is Content-Length: 0.

Looking here:
https://www.rfc-editor.org/rfc/rfc7230

A user agent SHOULD NOT send a Content-Length header field when the request message does not contain a payload body and the method semantics do not anticipate such a body.

Copying the request over into Postman and removing the Content-Length: 0 makes the request return a 200.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221116/b82b607f/attachment.htm>


More information about the webkit-unassigned mailing list