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: handle Immutable Response objects #8842

Merged
merged 5 commits into from
Sep 4, 2023
Merged

fix: handle Immutable Response objects #8842

merged 5 commits into from
Sep 4, 2023

Conversation

runspired
Copy link
Contributor

Response headers returned by fetch are both readonly and Immutable:

This clones the response, allowing us to adjust the response headers, but does so in a way that passes the stream through.

@runspired runspired added 🎯 canary PR is targeting canary (default) 🏷️ bug This PR primarily fixes a reported issue labels Sep 4, 2023
@runspired runspired merged commit 6e93685 into main Sep 4, 2023
@delete-merged-branch delete-merged-branch bot deleted the fix-fetch-again branch September 4, 2023 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎯 canary PR is targeting canary (default) 🏷️ bug This PR primarily fixes a reported issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant