Skip to content

Commit

Permalink
Merge pull request WICG#54 from miketaylr/issues/53/1
Browse files Browse the repository at this point in the history
Fixes WICG#53 - Update references to point to RFC8942
  • Loading branch information
miketaylr authored Feb 9, 2021
2 parents a1215c1 + a214e58 commit 86bc610
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 18 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ privacy-preserving, proactive content negotiation with an explicit third-party
delegation mechanism:

* Proactive content negotiation at the HTTP layer (defined in the
[IETF I-D](https://httpwg.org/http-extensions/client-hints.html))
[IETF RFC](https://tools.ietf.org/html/rfc8942))
enables servers to request delivery of specific hints, in order to enable
optimized and automated selection of resources based on a user's device,
conditions and preferences, and lets clients decide which hint requests they
Expand Down
24 changes: 7 additions & 17 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,6 @@ spec:fetch; type:dfn; text:client
"href": "https://w3c.github.io/webappsec-permissions-policy/",
"publisher": "W3C",
"title": "Permissions Policy"
},
"CLIENT-HINTS": {
"authors": [
"Ilya Grigorik",
"Yoav Weiss"
],
"href": "https://httpwg.org/http-extensions/client-hints.html",
"publisher": "IETF HTTP-WG",
"title": "Client Hints"
}
}

Expand Down Expand Up @@ -83,7 +74,7 @@ Infrastructure definition {#definition}
The specification of the Client Hints **infrastructure** is divided between the
following specifications and proposals:

* IETF [[!CLIENT-HINTS]]
* IETF [[!RFC8942]]
- Provides the motivation for Client Hints.
- Defines the fundamental Client Hints infrastructure:
- The `Accept-CH` response header, which servers may use to advertise
Expand Down Expand Up @@ -240,10 +231,9 @@ if <var>request</var>'s <a for=request>header list</a>
<li><p>If <var>request</var> is a <a>subresource request</a> and the result of running
<a href="https://w3c.github.io/webappsec-permissions-policy/#algo-should-request-be-allowed-to-use-feature">Should request be allowed to use feature?</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>false</code>, then skip the next steps and
continue to the next <var>hintName</var>.
[[!PERMISSIONS-POLICY]] [[!CLIENT-HINTS]]
<a href="#policy-controlled-features">associated policy-controlled feature</a>, returns
<code>false</code>, then skip the next steps and continue to the next <var>hintName</var>.
[[!PERMISSIONS-POLICY]]
<li><p>If <var>request</var>'s <a for=request>header list</a> <a for="header list">does not
contain</a> <var>hintName</var>, 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>.
Expand All @@ -262,10 +252,10 @@ When asked to <dfn abstract-op>remove client hints from redirect if needed</dfn>
<var>hintName</var> and if the result of running <a
href="https://w3c.github.io/webappsec-permissions-policy/#algo-should-request-be-allowed-to-use-feature">Should
request be allowed to use feature?</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
<a href="#policy-controlled-features">associated
policy-controlled feature</a>, returns <code>false</code>, then remove <var>hintName</var> from
<a for=request>header list</a>.
[[!PERMISSIONS-POLICY]] [[!CLIENT-HINTS]]
[[!PERMISSIONS-POLICY]]
</ol>
</ol>

Expand Down Expand Up @@ -391,7 +381,7 @@ Issue: Links for image features are broken, need to actually define that and lin

Security and Privacy considerations {#privacy}
===========
See [[!CLIENT-HINTS]].
See [[!RFC8942]].

Terms {#terms}
====
Expand Down

0 comments on commit 86bc610

Please sign in to comment.