Skip to content

fix: handle Immutable Response objects#8842

Merged
runspired merged 5 commits intomainfrom
fix-fetch-again
Sep 4, 2023
Merged

fix: handle Immutable Response objects#8842
runspired merged 5 commits intomainfrom
fix-fetch-again

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