Re: user-agent header control

* Anne van Kesteren wrote:
>Does anyone here know why we restrict the user-agent header the way we
>do in XMLHttpRequest (and now fetch())?

This issue came up several times in the past when people asked for in-
cluding proper rationale in the specification. The response was e.g.

  Because they are better handled by the user agent. Charsets and
  encodings are transparent to the API and the user agent surely
  knows Referer and User-Agent better.

in <http://lists.w3.org/Archives/Public/public-webapi/2008May/0408>.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
D-10243 Berlin · PGP Pub. KeyID: 0xA4357E78 · http://www.bjoernsworld.de

Received on Sunday, 5 April 2015 19:04:58 UTC