Re: [XHR] send doesn't explain what to do when method is GET

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, Björn already reported that both IE7 and FF happily  
>>>> pass the body, as they should (IMHO).
>>>
>>> My reading of Björns 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 UTC