[whatwg] XMLHttpRequest

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:


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