requestMethod case issues

RESOLVED WORKSFORME

Status

()

Core
Networking: HTTP
RESOLVED WORKSFORME
11 years ago
a year ago

People

(Reporter: bz, Unassigned)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

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.
the idl is clear now that getter and setter is case sensitive
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.