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

fix!: immutable headers guards for incoming response and downstream request #1006

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

guybedford
Copy link
Member

This implements immutable headers guards for the fetch event request, and any fetch() responses.

With this change, trying to set a header on one of these will throw a TypeError as is correct per the fetch and service worker specs.

Resolves #992.

@guybedford
Copy link
Member Author

I will wait to land this until we make the next major release.

@guybedford guybedford added the next major Do not land until the next major release label Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next major Do not land until the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Backend response headers set issue
1 participant