[Cosmo-dev] X-HTTP-Method-Override

Matthew Eernisse mde at osafoundation.org
Wed Dec 6 19:27:59 PST 2006


+1, sounds great.

I'm presuming that you'll still use GET/POST with the override, even in 
non-Safari browsers -- is that the case?

Travis Vachon wrote:
> Unfortunately, Safari doesn't know how to make requests with methods 
> other than GET and POST. Other people have noticed this problem, and our 
> friends at Google have come up with a pretty cute solution. Whenever an 
> http method other than GET or POST is required, they include an 
> "X-HTTP-Override-Method" header in the request with a value of whatever 
> method is needed. I wrote a servlet filter to process this correctly a 
> couple months ago, and moving the ticket ui to use DAV means that it's 
> actually needed.



More information about the cosmo-dev mailing list