Re: removeRequestHeader() (was: Re: setRequestHeader / Accept)

On Mon, 26 May 2008 12:18:34 +0200, Ian Hickson <ian@hixie.ch> wrote:
> I do think that setting the header to the empty string (as if "" had been
> passed instead) is better behaviour, from an author's point of view. If
> that would resolve this issue then that seems like a good choice.

As far as I can tell three out of four browsers stringify to "null" /  
"undefined" for arbitrary headers and since authors should pass a string  
anyway I really don't think it's worth changing this.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Monday, 26 May 2008 10:37:39 UTC