Skip to content

fix(response): copy headers when init is a foreign Response#382

Open
yusukebe wants to merge 1 commit into
mainfrom
fix/response-copy-headers-foreign-response
Open

fix(response): copy headers when init is a foreign Response#382
yusukebe wants to merge 1 commit into
mainfrom
fix/response-copy-headers-foreign-response

Conversation

@yusukebe

Copy link
Copy Markdown
Member

I realized that the problem with rebuilding Response with a foreign Response as one returned from fetch will throw a TypeError: immutable, is on the @hono/node-server side. The problem is pointed out honojs/hono#5137 (comment)

This PR fixes it.

@yusukebe

Copy link
Copy Markdown
Member Author

Hi @usualoma

Can you review this?

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

Successfully merging this pull request may close these issues.

1 participant