-
Notifications
You must be signed in to change notification settings - Fork 381
Closed
Labels
needs concrete proposalMoving the issue forward requires someone to figure out a detailed planMoving the issue forward requires someone to figure out a detailed plantopic: client hints
Description
During an IRC discussion about #773, @annevk brought up a few points we need to consider when it comes to CH processing:
- If we want to make sure that CH headers are not sent on cross-origin request headers, including cross-origin redirects, we need to have origin checks relatively low in the stack and only add those headers there.
- However, that would mean that the headers will not be exposed to service workers, which would limit some of their use-cases.
- An alternative would be to add the headers up the stack and remove them further down for cross-origin redirects, but that would mean we'd also remove them for user-added CH headers. It'd also mean that CH is the first feature introducing header removal.
So, we need to decide on the trade-off between privacy, usability and functionality here:
- How awful would it be to send CH to cross-origin redirects?
- If the answer to the above is "really awful", we need to find a way to avoid doing that without harming SW use of CH as well as user-added CH headers. Personally, I think the SW use case is more important than the user-added headers case.
@igrigorik @arturjanc - thoughts?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
needs concrete proposalMoving the issue forward requires someone to figure out a detailed planMoving the issue forward requires someone to figure out a detailed plantopic: client hints