Re: XMLHttpRequest conformance comments

Right. So, it makes more sense for getResponseHeader() to return null when a
header is not present, and return empty/non-empty string when a line for
that header is present.

Subbu

On 8/2/06, Julian Reschke <julian.reschke@gmx.de> wrote:
>
> Subbu Allamaraju schrieb:
> > c. Per the current draft, getResponseHeader() is required to return an
> > empty string if a given header is not present. From programming API
> > point of view, a value of null is more natural.
> > ...
>
> 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).
>
> Best regards, Julian
>



-- 
------------------------------
http://www.subbu.org

Received on Wednesday, 2 August 2006 14:16:18 UTC