Skip to content

add support for appending to header map from rhai#2219

Merged
garypen merged 3 commits intodevfrom
garypen/2211-multiple-headers
Dec 9, 2022
Merged

add support for appending to header map from rhai#2219
garypen merged 3 commits intodevfrom
garypen/2211-multiple-headers

Conversation

@garypen
Copy link
Contributor

@garypen garypen commented Dec 6, 2022

This adds support for setting a header map key with an array. This causes the HeaderMap key/values to be appended() to the map, rather than inserted().

Useful when setting cookies with multiple "set-cookie" for example.

fixes: #2211

This adds support for setting a header map key with an array. This
causes the HeaderMap key/values to be appended() to the map, rather than
inserted().

Useful when setting cookies with multiple "set-cookie" for example.
@garypen garypen requested review from a team, SimonSapin and bnjjj and removed request for a team December 6, 2022 10:59
@github-actions

This comment has been minimized.

@garypen garypen self-assigned this Dec 6, 2022
@garypen garypen enabled auto-merge (squash) December 9, 2022 08:23
@garypen garypen merged commit 160116e into dev Dec 9, 2022
@garypen garypen deleted the garypen/2211-multiple-headers branch December 9, 2022 08:42
@BrynCooke BrynCooke added this to the v1.6.0 milestone Dec 13, 2022
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 multiple set-cookie headers

3 participants