- From: Domenic Denicola <notifications@github.com>
- Date: Sun, 05 Apr 2015 11:23:39 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Sunday, 5 April 2015 18:24:01 UTC
> If we allow setting it to any value and effectively replace anything the user agent would set we should probably make it a parameter of RequestInit as the supplied headers argument combines with existing headers (and never replaces). So e.g. Hmm, I'm not sure I necessarily agree. It seems a straightforward extension to say that headers provided by the RequestInit overwrite default headers. What do you think would be confusing about allowing User-Agent to be set through the normal mechanisms? --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/37#issuecomment-89826587
Received on Sunday, 5 April 2015 18:24:01 UTC