W3C home > Mailing lists > Public > public-webapi@w3.org > March 2008

Re: [xmlhttprequest] getResponseHeader() for invalid header

From: Maciej Stachowiak <mjs@apple.com>
Date: Fri, 7 Mar 2008 15:06:02 -0800
Cc: "Web API WG (public)" <public-webapi@w3.org>
Message-Id: <AAAC9827-63D1-4D8F-AC5F-C94CB5188136@apple.com>
To: Anne van Kesteren <annevk@opera.com>


On Mar 7, 2008, at 2:59 PM, Anne van Kesteren wrote:

>
> Currently getResponseHeader() returns the empty string for invalid  
> header names.  Would people object if I changed that to returning  
> null instead (basically making it equivalent to headers not part of  
> the response)? Thanks.

What do current implementations do for these cases?

  - Maciej
Received on Friday, 7 March 2008 23:06:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 7 March 2008 23:06:17 GMT