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

Re: removeRequestHeader()

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 28 May 2008 00:12:58 +0000 (UTC)
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Anne van Kesteren <annevk@opera.com>, Maciej Stachowiak <mjs@apple.com>, Laurens Holst <lholst@students.cs.uu.nl>, public-webapi@w3.org
Message-ID: <Pine.LNX.4.62.0805280012320.12907@hixie.dreamhostps.com>

On Tue, 27 May 2008, Julian Reschke wrote:
> Anne van Kesteren wrote:
> > > FF3 (removing the header) demonstrates that this case (null value) either
> > > should be left unspecified, or specified with a more useful behavior.
> > 
> > Firefox demonstrates that it is not interoperable with the three other
> > browsers. It does not demonstrate anything about the need to do this
> > differently than currently specified.
> 
> Setting a header to null, and expecting the header to be sent as "null" 
> is a bug. You haven't provided any evidence of clients relying on this.
> 
> Please do not wire bad API design like this into the spec, even if it's 
> common for Javascript APIs.

I have to say, I would rather prefer it be treated as "".

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 28 May 2008 00:13:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 28 May 2008 00:13:44 GMT