- From: Ian Hickson <ian@hixie.ch>
- Date: Fri, 26 Nov 2004 02:52:28 +0000 (UTC)
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