- From: Anne van Kesteren <notifications@github.com>
- Date: Tue, 02 Oct 2018 03:20:19 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 2 October 2018 10:20:41 UTC
annevk commented on this pull request.
> @@ -2813,8 +2821,15 @@ the request.
<dd>a suitable <a href=http://httpwg.org/http-extensions/client-hints.html#width>width value</a>
</dl>
- <li><p>A user agent should <a for="header list">append</a>
- <var>hintName</var>/<var>value</var> to <var>request</var>'s <a for=request>header list</a>.
+ <li><p>If the result of running
+ <a href="https://wicg.github.io/feature-policy/#should-request-be-allowed-to-use-feature">Should
+ <var>request</var> be allowed to use <var>feature</var>?</a>,
+ given <var>request</var> and <var>hintName</var>’s
+ <a href="http://httpwg.org/http-extensions/client-hints.html#opt-in-via-feature-policy">associated
+ policy-controlled feature</a>, returns <code>true</code>, the user agent should
+ <a for="header list">append</a> <var>hintName</var>/<var>value</var> to <var>request</var>'s
+ <a for=request>header list</a>.
+ [[!FEATURE-POLICY]] [[!CLIENT-HINTS]]
Yeah, I'd much prefer we don't add feature policy until the architecture is more correctly described.
--
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/811#discussion_r221897158
Received on Tuesday, 2 October 2018 10:20:41 UTC