Re: Signaling a Cookie-Preference in HTTP requests (draft-jones-httpbis-cookie-preference-00)

Roy,

Thanks for the prompt feedback.  Yes, I was hopeful others might share 
this desire to address these prompts.

Comments below...


>It seems there may be a 'hole' there - is there an option which 
>requests that the server ask about ALL cookies - both essential and 
>non-essential? The 'ask' option appears to say that the server can set 
>essential cookies but must ask about others...

The client indicates a preference to the server. The server doesn't send 
a signal back to the UA, though it may (if required) continue to use the 
cookie prompts shown to the user.

The UA can indicate to the server that it is willing to accent all 
cookie, only essential cookies, no cookies, or "ask" (i.e., prompt as 
the server would prompt today).


>Would this header be sent on every request to a site, or only the first 
>request to that site - for example, would it be triggered by the lack 
>of any cookies for that site stored in the UA, indicating that 
>(probably) the user hasn't been to that site before? What about cookies 
>from subdomains or higher domains?

I would expect this Cookie-Preference would be signaled in every 
request, just as would the Accept-Encoding, User-Agent, or other 
headers. This is a detail to be ironed out, but I think signal 
persistence would address corner cases about what to do.


>Obviously this header only has use of servers actually follow its 
>action, to the extent that servers that choose not to follow it are 
>blacklisted, whether technically or simply socially (folks hearing that 
>they should avoid site X, because it doesn't follow Cookie 
>preferences). Not saying that's a bad thing at all!

Indeed, like almost everything else on the Internet, this can only be 
implemented and honored on a voluntary basis.  If widely implemented, 
though, it could allow lawmakers to pass requirements that would help 
encourage proper behavior.


>Do you also want to consider, and maybe include, the ways in which 
>sites can include JavaScript in their pages to set values in Local 
>Storage? Those seem to be becoming as popular as cookies in terms of 
>enabling some level of tracking information...

IMO, it is best to keep this as simple as possible. As such, this draft 
tries to not over-reach and just provide a cookie preference via request 
headers.

UAs could allow users to set this preference per site or globally, but 
we didn't get into that detail in the draft, either, as that goes beyond 
a signaling specification.

Paul


>Rory
>
>Rory Hewitt
>
>http://www.linkedin.com/in/roryhewitt
>
>On Mon, Jul 6, 2026, 1:03 PM Paul E. Jones <paulej@packetizer.com> 
>wrote:
>>httpbis WG,
>>
>>I wanted to make you aware of an I-D we just published that we'd like 
>>to
>>have considered within this WG.
>>
>>The idea is to introduce a new "Cookie-Preference" header that would
>>allow a user to configure his or her UA to indicate a preference for
>>handling cookies that might be set by the server.
>>
>>Neither of us will be present at this upcoming IETF meeting, so 
>>perhaps
>>list discussion might be the best way to proceed if this document is 
>>of
>>interest to WG members.
>>
>>Paul
>>
>>------ Forwarded Message ------
>>From internet-drafts@ietf.org
>>To i-d-announce@ietf.org
>>Date 7/6/2026 3:12:28 PM
>>Subject I-D Action: draft-jones-httpbis-cookie-preference-00.txt
>>
>>Internet-Draft draft-jones-httpbis-cookie-preference-00.txt is now 
>>available.
>>
>>     Title:   The Cookie-Preference HTTP Header Field
>>     Authors: Paul Jones
>>              Michael A Ramalho
>>     Name:    draft-jones-httpbis-cookie-preference-00.txt
>>     Pages:   10
>>     Dates:   2026-07-06
>>
>>Abstract:
>>
>>     This document specifies a new HTTP request header field, "Cookie-
>>     Preference", that enables user agents to communicate the user's
>>     preferred cookie disposition (e.g., accept all, accept essential
>>     only, reject all, or ask) to web servers.  By conveying this
>>     preference upfront, the header can facilitate a more seamless
>>     browsing experience while respecting user privacy choices and
>>     reducing reliance on per-site consent dialogs.
>>
>>The IETF datatracker status page for this Internet-Draft is:
>>https://datatracker.ietf.org/doc/draft-jones-httpbis-cookie-preference/
>>
>>There is also an HTML version available at:
>>https://www.ietf.org/archive/id/draft-jones-httpbis-cookie-preference-00.html
>>
>>Internet-Drafts are also available by rsync at:
>>rsync.ietf.org::internet-drafts
>>
>>
>>_______________________________________________
>>I-D-Announce mailing list -- i-d-announce@ietf.org
>>To unsubscribe send an email to i-d-announce-leave@ietf.org
>>

Received on Monday, 6 July 2026 22:53:39 UTC