Last Comment Bug 335149 - requestMethod case issues
: requestMethod case issues
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]
Depends on:
  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:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description User image 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 for a description of our behavior.

In general, the whole thread starting at 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 User image 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.