fix: improve merge header handling in Context.res setter by usualoma · Pull Request #5008 · honojs/hono · GitHub
Skip to content

fix: improve merge header handling in Context.res setter#5008

Draft
usualoma wants to merge 2 commits into
mainfrom
fix-merge-header-2
Draft

fix: improve merge header handling in Context.res setter#5008
usualoma wants to merge 2 commits into
mainfrom
fix-merge-header-2

Conversation

@usualoma

@usualoma usualoma commented Jun 7, 2026

Copy link
Copy Markdown
Member

fixes #4992

The author should do the following, if applicable

  • Add tests
  • Run tests
  • bun run format:fix && bun run lint:fix to format the code

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

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.

set res() setter loses Set-Cookie headers when middleware sets cookies before next() and handler returns a raw Response

1 participant