- From: Manish Goregaokar <notifications@github.com>
- Date: Fri, 10 Jun 2016 00:19:28 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc:
Received on Friday, 10 June 2016 07:20:04 UTC
https://fetch.spec.whatwg.org/#http-network-or-cache-fetch, step 6 > Append `Referer`/empty byte sequence, if httpRequest's referrer is "no-referrer", and `Referer`/httpRequest's referrer, serialized and utf-8 encoded, otherwise, to httpRequest's header list. This indicates that XHR fetches will always have a referer header. However, the WPT test http://web-platform.test:8000/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/generic.keep-origin-redirect.http.html expects the referer header to be unset (not empty), and inspecting the requests in firefox show no referer header, only an origin header. This looks like a case of the spec being wrong; I don't see the value in an empty referer header. --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/323
Received on Friday, 10 June 2016 07:20:04 UTC