Re: [whatwg/fetch] Editorial: Add prose about constructing a request (PR #1585)

@domenic commented on this pull request.



> + <dd><p>Verifies that the content of the resource matches a pre-calculated string hash.
+
+ <dt><a for=request>referrer policy</a>
+ <dd><p>Allows using a different <a for=/>referrer policy</a> from the one provided by the
+ <a for=/>policy container</a>. [[!REFERRER]]
+
+ <dt><a for=request>cryptographic nonce metadata</a>
+ <dd><p>If the site's <cite>Content Security Policy</cite> specifies a <a grammar>nonce-source</a>
+ for this <a for=/>request</a>'s <a for=request>destination</a>, any request without a
+ [[CSP#match-nonce-to-source-list|matching]] value in this field will be blocked.
+</dl>
+
+<p>Browse through the rest of the parameters for <a for=/>request</a> to see if something else is
+relevant to you. The rest of the parameters are used less frequently, often for special purposes,
+and they are documented in detail in the <a href="#requests">Requests</a> section of this standard.
+
 

I see a few places using it to prohibit redirects: https://dontcallmedom.github.io/webdex/r.html#redirect%20mode%40%40request%40dfn

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1585#discussion_r1065500498
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1585/review/1241770721@github.com>

Received on Tuesday, 10 January 2023 08:57:37 UTC