W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

Re: [XHR2] PATCH Method support

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 17 Aug 2011 11:58:13 +0200
To: "Dominik Tomaszuk" <ddooss@wp.pl>
Cc: public-webapps@w3.org
Message-ID: <op.v0crbbw964w2qv@annevk-macbookpro.local>
On Wed, 17 Aug 2011 11:48:19 +0200, Dominik Tomaszuk <ddooss@wp.pl> wrote:
> In Section 4.6.1 is:
>  > If method is a case-insensitive match for CONNECT, DELETE, GET, HEAD,
>  > OPTIONS, POST, PUT, TRACE, or TRACK subtract 0x20 from each byte in
>  > the range 0x61 (ASCII a) to 0x7A (ASCII z).
>
> IMO it would be better if it contained the PATCH method.

HTTP methods are case-sensitive. These are case-insensitive for this API  
for legacy reasons. We are not going to add new methods here for each new  
method defined. (That also has the potential to break applications that  
use e.g. "patch" or "Patch".)


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Wednesday, 17 August 2011 09:58:52 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:47 GMT