Actually, only GET and POST are official methods in the HTML5 spec [1]. PUT and DELETE were there at some point, but have since been removed so you shouldn't assume that any/all browsers will support it. Also, I know this holds true for most XHR "1" implementations, not sure if all the new XHR2 capable browsers implement those other methods regardless of what the HTML5 spec says.
[1] http://www.w3.org/TR/html5/association-of-controls-and-forms.html#attr-fs-method On Jun 6, 7:08 am, Lee <[email protected]> wrote: > On 06/06/2011 16:06, Tim Wienk wrote: > > > If I understood him correctly what he wants is to actually *not* > > emulate, and use the actual "delete" and "put" methods, and the > > problem was that it emulates by default and changes your "delete" into > > a "post". > > Exactly. It seems a strange default, to mange HTTP, but I can see the > potential reasoning sine you pointed out the Rails approach. > > Thanks again > Lee
