[whatwg] XMLHttpRequest
Ian Hickson
ian at hixie.ch
Thu Nov 25 18:52:28 PST 2004
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. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list