Open Bug 598288 Opened 14 years ago Updated 2 years ago

method=PUT should be treated like method=POST for constructing form submissions

Categories

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

defect

Tracking

()

People

(Reporter: julian.reschke, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 (.NET CLR 3.5.30729)
Build Identifier: 4.0b7pre (built from trunk as of 2010-09-20)

When using method=PUT on a form, the URI being accessed uses the same encoding as for GET (form fields as query parameters), instead of the one defined for POST (payload).

See spec at http://dev.w3.org/html5/spec/Overview.html#submit-put-action

Reproducible: Always
Depends on: 583288
The link in comment 0 doesn't go to a useful part of the spec; I assume you meant to link to the table in step 15 of section 4.10.21.3?
Status: UNCONFIRMED → NEW
Component: DOM: Core & HTML → HTML: Form Submission
Ever confirmed: true
QA Contact: general → form-submission
Summary: wrong URI generated for form method=PUT → method=PUT should be treated like method=POST for constructing form submissions
(In reply to comment #1)
> The link in comment 0 doesn't go to a useful part of the spec; I assume you
> meant to link to the table in step 15 of section 4.10.21.3?

Yes, sorry. Should have been more specific.
OS: Windows 7 → All
Hardware: x86 → All
Version: unspecified → Trunk
Note that with http://www.w3.org/Bugs/Public/show_bug.cgi?id=10671, support for PUT and DELETE in forms has been removed from HTML5.
No longer depends on: 583288
Component: HTML: Form Submission → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.