Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sec-Fetch-User for subresource requets? #26

Open
mikewest opened this issue Mar 29, 2019 · 1 comment
Open

Sec-Fetch-User for subresource requets? #26

mikewest opened this issue Mar 29, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@mikewest
Copy link
Member

At the moment, Sec-Fetch-User is defined as being sent for navigation requests only. Following on to the conversation in #23, it might be useful to specify how Sec-Fetch-User could work for some categories of subresource requests.

@arturjanc: This seems like something we can come back to after y'all finish deploying things more generally for navigation requests. How would you rate its priority?

@mikewest mikewest added the enhancement New feature or request label Mar 29, 2019
@arturjanc
Copy link
Contributor

I don't expect this to be a particularly common use of Sec-Fetch headers. For subresource requests the signal that developers are more likely use is the site value: if they trust the source (e.g. it's a same-origin request) they will return a response, and if they don't (e.g. it's a cross-site request) then it doesn't particularly matter whether there was a user action associated with the request. It could be a way to rate-limit, similarly to how developers could allow only those navigations that resulted from a user action, but my guess is it would be a niche use case.

I'd say low priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants