Skip to content

rack plugin: rack3 header values can be an Array to handle multiple values#2749

Open
niol wants to merge 1 commit intounbit:masterfrom
niol:rack-headers
Open

rack plugin: rack3 header values can be an Array to handle multiple values#2749
niol wants to merge 1 commit intounbit:masterfrom
niol:rack-headers

Conversation

@niol
Copy link
Copy Markdown
Contributor

@niol niol commented Jan 13, 2026

There is one changed feature in Rack 3 which is not backwards compatible:

  • Response header values can be an Array to handle multiple values (and no longer supports \n encoded headers).

This patch fixes seing in response header:

Set-Cookie: ["autologin=[secret];secure"]

instead of

Set-Cookie: autologin=[secret];secure

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