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

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

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 26 May 2008 10:18:34 +0000 (UTC)
To: Anne van Kesteren <annevk@opera.com>
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: <Pine.LNX.4.62.0805261014100.12907@hixie.dreamhostps.com>

On Mon, 26 May 2008, Anne van Kesteren wrote:
> On Mon, 26 May 2008 10:00:26 +0200, Maciej Stachowiak <mjs@apple.com> wrote:
> > I am ok with deferring such a mechanism to XHR2 however. In WebKit we'll
> > likely implement it equally quickly whether it is in XHR1 or XHR2 since it
> > seems like useful functionality. But there are complications, namely, how
> > does it interact with headers that are set automatically by the UA?
> 
> It's not clear to me at all what problem it solves. The examples given 
> so far are all UA bugs.

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.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 26 May 2008 10:19:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 26 May 2008 10:19:16 GMT