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

Lower SXG q-value for outgoing Accept header #173

Open
twifkak opened this issue Mar 22, 2022 · 0 comments
Open

Lower SXG q-value for outgoing Accept header #173

twifkak opened this issue Mar 22, 2022 · 0 comments

Comments

@twifkak
Copy link
Collaborator

twifkak commented Mar 22, 2022

In forward_to_origin_server, modify the Accept header so that application/signed-exchange;v=b3 has a lower q score than text/html, as recommended for requests not preferring SXG.

This helps for services configured in a loopback mode, like browser -> frontend -> sxg-rs -> frontend. This is only an issue for fastly_compute right now, because Cloudflare Workers doesn't run on loopback requests.

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

No branches or pull requests

1 participant