Closed Bug 1123587 Opened 10 years ago Closed 10 years ago

[fetch] Request's method should accept extension-method

Categories

(Core :: DOM: Core & HTML, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1122194

People

(Reporter: kenjibaheux, Unassigned)

References

Details

(Keywords: testcase)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.85 Safari/537.36

Steps to reproduce:

Found this while running Blink's Fetch in window tests on FF nightly:
 new Request(url, {method: 'PATCH'})



Actual results:

TypeError: Invalid request method patch.


Expected results:

This should be allowed IINM:
 https://fetch.spec.whatwg.org/#concept-method points to
 https://tools.ietf.org/html/rfc2616#section-5.1.1 which says
 
 Method         = "OPTIONS"                ; Section 9.2
                      | "GET"                    ; Section 9.3
                      | "HEAD"                   ; Section 9.4
                      | "POST"                   ; Section 9.5
                      | "PUT"                    ; Section 9.6
                      | "DELETE"                 ; Section 9.7
                      | "TRACE"                  ; Section 9.8
                      | "CONNECT"                ; Section 9.9
                      | extension-method
       extension-method = token
Component: Untriaged → DOM
Keywords: testcase
Product: Firefox → Core
Version: Firefox 38 → Trunk
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.