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

(wrong string) €™t explain what to do when method is GET

From: Maciej Stachowiak <mjs@apple.com>
Date: Mon, 17 Dec 2007 19:22:52 -0800
Cc: Julian Reschke <julian.reschke@gmx.de>, Anne van Kesteren <annevk@opera.com>, Mark Baker <distobj@acm.org>, Boris Zbarsky <bzbarsky@mit.edu>, Bjoern Hoehrmann <derhoermi@gmx.net>, public-webapi@w3.org
Message-Id: <BACBAA29-5E10-4A2B-BD2B-1109CABFA8F0@apple.com>
To: Jonas Sicking <jonas@sicking.cc>


On Dec 17, 2007, at 5:44 PM, Jonas Sicking wrote:

> Maciej Stachowiak wrote:
>> On Dec 14, 2007, at 4:11 PM, Jonas Sicking wrote:
>>> Julian Reschke wrote:
>>>> Jonas Sicking wrote:
>>>>> Does any currently released browse include the body when doing  
>>>>> an XHR GET request? If a big majority of them currently drop the  
>>>>> body, then it seems like it would help interoperability if the  
>>>>> spec explicitly stated that the body should be dropped.
>>>> Disagreed. Please do not try to standardize HTTP APIs that  
>>>> profile what HTTP allows.
>>>
>>> XHR already disallows a lot of things that HTTP allows. Setting  
>>> certain headers, cross site requests, etc. Why is this different?
>>>
>>>> Besides that, Bjrn already reported that both IE7 and FF happily  
>>>> pass the body, as they should (IMHO).
>>>
>>> My reading of Bjrns email was that they did not drop it for HEAD,  
>>> OPTIONS and EXAMPLE did not drop the entity body. In my testing  
>>> IE, Firefox and Opera all dropped the entity body of GET requests.
>> Did you try Safari (or can you post the test case so I can try it?)
>
> I did not try safari. You can try it here:
>
> http://people.mozilla.com/~sicking/xhr_body.html

Safari 3.0.4 (on Mac OS X 10.5) also appears to drop the entity body.  
(Side not for future testing: if you can test IE you can probably test  
Safari for Windows.)

Cheers,
Maciej
Received on Tuesday, 18 December 2007 03:23:05 GMT

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