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

XMLHttpRequest request bodies (was: Re: Issue: request bodies)

From: Anne van Kesteren <annevk@opera.com>
Date: Sun, 14 May 2006 19:47:40 +0200
To: "Mark Baker" <distobj@acm.org>, "Maciej Stachowiak" <mjs@apple.com>
Cc: "Web APIs WG (public)" <public-webapi@w3.org>
Message-ID: <op.s9jydqn664w2qv@id-c0020.oslo.opera.com>

On Mon, 24 Apr 2006 21:15:36 +0200, Mark Baker <distobj@acm.org> wrote:
> On 4/22/06, Maciej Stachowiak <mjs@apple.com> wrote:
>> Current implementations silently ignore the body in this case.
> FWIW, I decided to test this.  As it turns out, IE and Firefox on
> WinXP pass bodies on all methods except GET (actually, I couldn't test
> GET on IE - it would only send POST!), and Opera passes them only with
> POST (and doesn't support PUT?!).  That's all the browsers I have
> access to right now.
> http://www.markbaker.ca/2006/XHRTests/

So I have no strong opinions about this, but my suggestion would be to say  
that the data passed to send() is always used as the entity body, if  
present, unless the method argument is GET in which case it's dropped. Any  

Anne van Kesteren
Received on Sunday, 14 May 2006 17:48:00 UTC

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