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

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

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 26 May 2008 12:37:28 +0200
To: "Ian Hickson" <ian@hixie.ch>
Cc: "Maciej Stachowiak" <mjs@apple.com>, "Julian Reschke" <julian.reschke@gmx.de>, "Laurens Holst" <lholst@students.cs.uu.nl>, public-webapi@w3.org
Message-ID: <op.ubrbsqtb64w2qv@annevk-t60.oslo.opera.com>

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
Received on Monday, 26 May 2008 10:37:39 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:27 UTC