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.orgReceived on Wednesday, 2 August 2006 14:16:18 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:55 GMT