[Webkit-unassigned] [Bug 82202] Make XHR POST and PUT Content-Length sending behavior explicit on XHR level

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 26 10:05:47 PDT 2012


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





--- Comment #1 from Dominik Röttsches <dominik.rottsches at linux.intel.com>  2012-03-26 10:05:47 PST ---
Created an attachment (id=133840)
 --> (https://bugs.webkit.org/attachment.cgi?id=133840&action=review)
XHR Sending Content Length for zero-sized and empty POST & PUT

When I implement a change to XMLHttpRequest like in this patch adding the Content-Length: header for empty and zero sized bodies and POST & PUT case in method createRequest() I run into a couple of failures for
http/tests/xmlhttprequest/access-control-*.html which tell me:
"Request header field Content-Length is not allowed by Access-Control-Allow-Headers."

So is this something that we know need to circumvent on the XHR level / exempt from the header checking? (If so, any suggestions how?)

Or does this mean we're back to a point where it's better to implement that change at the HTTP level?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list