W3C home > Mailing lists > Public > public-webapi@w3.org > April 2006

Re: Extension HTTP methods

From: Gorm Haug Eriksen <gormer@opera.com>
Date: Tue, 18 Apr 2006 14:58:58 +0200
To: "Pete Kirkham" <mach.elf@gmail.com>, public-webapi@w3.org
Message-ID: <op.s77fokr3m2jbu9@pt-osx.oslo.opera.com>

On Sat, 15 Apr 2006 12:31:43 +0200, Pete Kirkham <mach.elf@gmail.com>  
wrote:

> I have worked with XMLHttpRequest (and also the Java http libraries)
> and found it annoying that only a few of the WebDav and DeltaV methods
> are supported. Often I've had to hack it with a server script to
> tunnel the requests so that I end up with POST
> http://example.com/my-stuff?method=MKACTIVITY rather than MKACTIVITIY
> http://example.com/my-stuff so that I can use a repository from a
> browser based application.

Hi Pete,

This should work in Mozilla and Internet Explorer. I'm not sure if they  
restrict any headers or if there are other security risks or challenges  
involved. Personally, I don't see any big risks with this and I think we  
will see support for this in both Opera and Safari. Allowing for custom  
HTTP methods also makes sense in RESTfull architecture where the method  
should represent the verb.

Cheers,

- Gorm Haug Eriksen
Received on Tuesday, 18 April 2006 12:59:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:54 GMT