- From: Anne van Kesteren <notifications@github.com>
- Date: Thu, 04 Nov 2021 02:45:52 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 4 November 2021 09:46:04 UTC
@annevk commented on this pull request. Generally I think this can work, but it will depend a bit on the other details. I'm also not sure where the cache itself should be defined. I can see arguments either way. > @@ -3811,6 +3814,44 @@ the request. <var>request</var>'s <a for=request>origin</a> to <var>request</var>'s <a for=request>client</a>'s <a for="environment settings object">origin</a>. + <li><p>Let <var>hasCustomHeaders</var> be false. + + <li><p><a for=list>For each</a> <var>header</var> in <var>request</var>'s + <a for=request>header list</a>, if <var>header</var>'s <a for=header>name</a> is + not `<code>If-Modified-Since</code>`, `<code>If-None-Match</code>`, `<code>If-Unmodified-Since</code>`, + `<code>If-Match</code>`, `<code>Origin</code>`, `<code>User-Agent</code>`, `<code>Referer</code>`, + or `<code>Cache-Control</code>`, set <var>hasCustomHeaders</var> to true. It cannot contain some of these headers at this point. E.g., Origin and Referer are forbidden. -- 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/pull/1342#pullrequestreview-797522435
Received on Thursday, 4 November 2021 09:46:04 UTC