Re: X-HTTP-Method-Override request header

On 06/11/2013 11:15 , Anne van Kesteren wrote:
>> >But, given that
>> >all you need is GET and POST[2], and given that HTML still only allows
>> >those two methods in a <form>, I don't think that it's a significant
>> >problem.
> If you use <form>, how do you include this X-HTTP-Method-Override
> header? <form> does not allow for that.

Most if not all of those frameworks also allow override through a form 
parameter. One popular choice is _method; so <input type=hidden 
name=_method value=PUT>.

-- 
Robin Berjon - http://berjon.com/ - @robinberjon

Received on Wednesday, 6 November 2013 10:57:15 UTC