[Bug 23116] Form method attribute only accepts 'get' and 'post'

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23116

--- Comment #3 from Dio Synodinos <synodinos@gmail.com> ---
Isn't this covered by XHR Level 2 which all browsers support?

(In reply to comment #2)
> == Use case for DELETE ==
> A page has a list of favorites/bookmarks.
> Next to each bookmark is a 'input' element of type 'submit'.
> 
> When submitted, it submit a DELETE /Bookmark/123 request.
> 
> The server removes the bookmark for that user from the database, and returns
> a page stating "Bookmark removed".
> 
> <form action="/Bookmark/123" method="delete">
>   <input type="submit" value="Delete" />
> </form>
> 
> 
> == Use case for PUT ==
> User clicks on "Edit profile".
> User changes text, and presses the submit button.
> Server updates the user's profile with the new data and returns a
> confirmation.
> 
> <form action="/Profile/" method="put">
>   <textarea name="profile" cols="80" rows="10"></textarea>
>   <input type="submit" value="Update profile" />
> </form>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 2 September 2013 15:29:26 UTC