[Webkit-unassigned] [Bug 8099] New: XmlHttpRequest lowercase post requests broken

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Fri Mar 31 01:28:22 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=8099

           Summary: XmlHttpRequest lowercase post requests broken
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: JavaScript
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: jonasmunk at mac.com


Think this is a easy to fix regression – from the latest request method fixes
:-)

When using req.open("post",url,true) (with lowercase "post" instead of
uppercase "POST" the request method is sent as lowercase "post".

Of course there is no such thing as a lowercase http POST request and at least
PHP doesn't understand it.

Safari 2.0.3 (417.9.2) translates req.open("post",url,true) into a uppercase
POST.

I noticed this because Prototype and Scriptaculous sometimes calls open() with
lowercase "post".

I know you SHOULD use uppercase when calling open() but it seems not everyone
does it :-( and Prototype gets used by many people – so I think its a good idea
to translate post into POST

Note: haven't checked GET, PUT etc.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list