-
Notifications
You must be signed in to change notification settings - Fork 386
Add Prefer: safe HTTP header #1891
Copy link
Copy link
Open
Labels
addition/proposalNew features or enhancementsNew features or enhancementscompatStandard is not web compatible or proprietary feature needs standardizingStandard is not web compatible or proprietary feature needs standardizingneeds implementer interestMoving the issue forward requires implementers to express interestMoving the issue forward requires implementers to express interesttopic: http
Metadata
Metadata
Assignees
Labels
addition/proposalNew features or enhancementsNew features or enhancementscompatStandard is not web compatible or proprietary feature needs standardizingStandard is not web compatible or proprietary feature needs standardizingneeds implementer interestMoving the issue forward requires implementers to express interestMoving the issue forward requires implementers to express interesttopic: http
What problem are you trying to solve?
Users may not want to have objectionable content displayed in their browser. Two browsers (Firefox and Edge) consume OS signals for web content restriction and convey this information to websites as the user browses via the
PreferHTTP header (RFC 8674).What solutions exist today?
Content labeling, e.g. the
<meta name="rating" content="adult">as proposed for HTML is one approach for this functionality.Currently, governments seem to be turning toward cryptographic proofs of age from digital credentials to make similar use cases work. Even with fancy crypto, there are significant privacy risks
How would you solve it?
Currently the spec has the following step
I'd propose appending the following step before that step:
"If the user agent has a signal, either from the user directly or the operating system, that the user prefers that the server not respond with content that is designated as objectionable according to the server's definition of the concept, append (
Prefer,safe) tohttpRequest'sheader list. [RFC8674]"We would also need to make it clear that these steps are exclusive operations. This is probably the right interpretation since RFC 8674 is informational.
Anything else?
No response