- From: Jonas Sicking <notifications@github.com>
- Date: Mon, 06 Apr 2015 03:06:17 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Monday, 6 April 2015 10:06:47 UTC
FWIW, if that email from me is really the reason that we don't allow setting the user-agent, then I believe that that's fixable. If we simply treat user-agent as a "custom" header, then things seem fine with me. I.e. we can let it be set completely by the page for same-origin requests. For cross-origin requests we can allow it to be set, but it'd cause a preflight, and would require the server to send a "access-control-allow-headers: user-agent" header in the response. I don't have opinions about how to deal with getting the default value or removing the header completely. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/37#issuecomment-90000000
Received on Monday, 6 April 2015 10:06:47 UTC