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

Re: XMLHttpRequest conformance comments

From: Julian Reschke <julian.reschke@gmx.de>
Date: Wed, 02 Aug 2006 09:07:56 +0200
Message-ID: <44D04F4C.4000802@gmx.de>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
CC: public-webapi@w3.org

Bjoern Hoehrmann schrieb:
> * Julian Reschke wrote:
>> In particular, HTTP allows headers to be present with no value, and that 
>> means something different than the absence of that header. Please do not 
>> profile HTTP (where it's not needed).
> 
> You can tell the difference using getAllResponseHeaders(), there is no
> "profiling" going on.

Looking at the definition for all getResponseHeaders(), it seems only be 
useful for debugging purposes. Do you seriously suggest that somebody 
who wants to know whether an empty response header was present in the 
response takes that concatenated string and parses it (don't forget the 
rules about leading WS and continuation lines in 
<http://tools.ietf.org/html/rfc2616#section-4.2>).

Best regards, Julian
Received on Wednesday, 2 August 2006 07:09:24 GMT

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