Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(rest-connector): Add flag to get multiple set cookie headers as list #3859

Merged
merged 2 commits into from
Jan 20, 2025

Conversation

ztefanie
Copy link
Contributor

@ztefanie ztefanie commented Jan 17, 2025

Description

  • Added a feature flag to enable getting multiple set cookie headers as a list

  • if flag is not set to true behavior is not changed

  • if flag is set to true set cookie headers are merged into a list

  • other headers are not merged, as set cookie is the only header that is allowed to occure multiple times

  • PR for documenting this feature is here: connectors: Add hint about merging set cookie headers camunda-docs#4875

Related issues

closes #3812

Checklist

  • PR has a milestone or the no milestone label.

@ztefanie ztefanie added this to the 8.7.0-alpha4 milestone Jan 17, 2025
@ztefanie ztefanie requested a review from a team as a code owner January 17, 2025 12:04
@ztefanie ztefanie force-pushed the 3812-add-flag-to-merge-multiple-set-cookie-headers branch 2 times, most recently from 2cd2ca1 to 7a423fe Compare January 17, 2025 12:37
@ztefanie ztefanie requested a review from johnBgood January 17, 2025 14:00
sbuettner
sbuettner previously approved these changes Jan 20, 2025
Copy link
Contributor

@sbuettner sbuettner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good 🚀
Some minor comments and a question regarding the element template version.

@sbuettner
Copy link
Contributor

@ztefanie Please also backport this to the 8.6 code base.

@ztefanie ztefanie force-pushed the 3812-add-flag-to-merge-multiple-set-cookie-headers branch from 7a423fe to 934162d Compare January 20, 2025 10:55
@johnBgood johnBgood assigned johnBgood and ztefanie and unassigned johnBgood Jan 20, 2025
Copy link
Collaborator

@johnBgood johnBgood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥇

@ztefanie ztefanie added this pull request to the merge queue Jan 20, 2025
Merged via the queue into main with commit 4231107 Jan 20, 2025
14 of 15 checks passed
@ztefanie ztefanie deleted the 3812-add-flag-to-merge-multiple-set-cookie-headers branch January 20, 2025 13:46
@sbuettner
Copy link
Contributor

Backport failed for release/8.6, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin release/8.6
git worktree add -d .worktree/backport-3859-to-release/8.6 origin/release/8.6
cd .worktree/backport-3859-to-release/8.6
git switch --create backport-3859-to-release/8.6
git cherry-pick -x 4231107cd22129bfb9343327defdf8aee580cb34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[REST Connector] Support returning multiple headers
3 participants