[Webkit-unassigned] [Bug 82202] New: Align XHR POST and PUT Content-Length sending behavior with other browsers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 26 07:06:55 PDT 2012


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

           Summary: Align XHR POST and PUT Content-Length sending behavior
                    with other browsers
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dominik.rottsches at linux.intel.com


Following the discussion and observations on bug 82036, I suggest to align XmlHttpRequest's behavior for sending Content-Length with other browser implementations. 

All tested browser implementations (FF, Opera, IE, Chromium) send a zero Content-Length Header on an empty (send()) as well as on a zero-length body (send("")). However, WebKit does not make that explicit in the XHR code and leaves it to the HTTP backend which leads to a variation in tests results.

So, WebKit should send a zero Content-Length header in POST/PUT cases for empty as well as zero-length http body.

-- 
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