W3C home > Mailing lists > Public > www-tag@w3.org > November 2013

Re: X-HTTP-Method-Override request header

From: Robin Berjon <robin@w3.org>
Date: Tue, 05 Nov 2013 13:07:09 +0100
Message-ID: <5278DF6D.1010403@w3.org>
To: "Henry S. Thompson" <ht@inf.ed.ac.uk>
CC: www-tag@w3.org
On 05/11/2013 12:57 , Henry S. Thompson wrote:
> Jonathan Rees just called this to my attention, see e.g. [1].  Its use
> is evidently recommended by Google [2], Microsoft [3] and Django [4].
>
> Seems like a bad idea at best to me. . .  I'd like to hear from Alex
> about this, as [2] seems to come from somewhere near where he sits,
> and from Yehuda, since Rails does (did?) support this as well. . .

I don't think that it's an idea that anyone loves, but if you're dealing 
with clients that won't support anything beyond GET or POST (or might 
support a few more but still reject e.g. PATCH) you don't actually have 
that much of a choice...

It's also common to support URL?_method=PUT.

-- 
Robin Berjon - http://berjon.com/ - @robinberjon
Received on Tuesday, 5 November 2013 12:07:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:56:59 UTC