W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2004

[whatwg] XMLHttpRequest

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 26 Nov 2004 02:52:28 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0411260250540.17654@dhalsim.dreamhost.com>
On Sun, 31 Oct 2004, Joe Gregorio wrote:
>
> It is just an edge case, but when using the XMLHttpRequest
> setRequestHeader()[1] what are the rules for over-riding existing
> headers?
> 
> For example, what if you are already authenticated and called
> setRequestHeader('Authorization', 'blah')?
> 
> Does the rule for concatenation apply to headers
> not created by setRequestHeader? 

I have attempted to answer this question at:

   http://whatwg.org/specs/web-apps/current-work/#setrequestheader

Let me know if the new text is satisfactory. (In short, it depends based 
on which header the author tries to override.)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 25 November 2004 18:52:28 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:20 UTC