W3C home > Mailing lists > Public > public-webapi@w3.org > December 2007

Re: [XHR] send doesn’t explain what to do w hen method is GET

From: Julian Reschke <julian.reschke@gmx.de>
Date: Fri, 14 Dec 2007 19:38:20 +0100
Message-ID: <4762CD9C.10004@gmx.de>
To: Stewart Brodie <stewart.brodie@antplc.com>
CC: public-webapi@w3.org

Stewart Brodie wrote:
> ...
> I never understood what I should do when an XMLHttpRequest object is
> presented with data to send and the method was GET or HEAD.  Currently, I
 > ...

Well, the same thing as for any other method. What's so complicated 
about that?

> ...
> I did briefly also consider automatically converting the method to POST, but
> decided that that was simply dangerous.
> ...

Silently rewriting method names is an extremely bad idea, and I'm 
shocked that Opera 9.5 beta still seems to do that. AFAIK, this has been 
fixed even in Safari by now.

BR, Julian
Received on Friday, 14 December 2007 18:38:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:24 UTC