[Webkit-unassigned] [Bug 46183] New: XHR rewrites non-POST methods upon 301/302 redirects

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 21 06:26:23 PDT 2010


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

           Summary: XHR rewrites non-POST methods upon 301/302 redirects
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://www.mnot.net/javascript/xmlhttprequest/
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: julian.reschke at gmx.de


The test cases at http://www.mnot.net/javascript/xmlhttprequest/ show that XHR,
when following a 301/302 redirect, changes the method to GET.

According to RFC 2616, Sections 10.3.2 and 10.3.3
(http://greenbytes.de/tech/webdav/rfc2616.html#rfc.section.10.3), this is a
bug.

That being said, it's understood that rewriting *POST* is required for
compatibility with existing content. However, this does not seem to be the case
for other methods, as IE restricts the conformance violation to POST and
apparently gets away with it.

Please consider tightening the implementation.

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