Re: removeRequestHeader()

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 UTC