Last Comment Bug 335149 - requestMethod case issues
: requestMethod case issues
Status: RESOLVED WORKSFORME
:
Product: Core
Classification: Components
Component: Networking: HTTP (show other bugs)
: Trunk
: x86 Linux
: -- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
: Patrick McManus [:mcmanus]
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-04-23 08:28 PDT by Boris Zbarsky [:bz] (still a bit busy)
Modified: 2016-01-22 14:01 PST (History)
3 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description Boris Zbarsky [:bz] (still a bit busy) 2006-04-23 08:28:37 PDT
The documentation for requestMethod on nsIHttpChannel says:

 63      * Set/get the HTTP request method (default is "GET").  Setter is case
 64      * insensitive; getter returns an uppercase string.

That's not actually what we do, though.  In particular, that's not what the getter does.  See http://lists.w3.org/Archives/Public/public-webapi/2006Apr/0352.html for a description of our behavior.

In general, the whole thread starting at http://lists.w3.org/Archives/Public/public-webapi/2006Apr/0126.html is worth skimming; the question is whether we would be able to implement case-sensitive request methods if the XMLHttpRequest spec demanded them.
Comment 1 Patrick McManus [:mcmanus] 2016-01-22 14:01:51 PST
the idl is clear now that getter and setter is case sensitive

Note You need to log in before you can comment on or make changes to this bug.