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

[REST Connector] Support returning multiple headers #3812

Open
sbuettner opened this issue Dec 16, 2024 · 0 comments
Open

[REST Connector] Support returning multiple headers #3812

sbuettner opened this issue Dec 16, 2024 · 0 comments
Assignees
Labels
kind:enhancement New feature or request
Milestone

Comments

@sbuettner
Copy link
Contributor

Is your feature request related to a problem? Please describe.

In some cases an upstream server might return multiple values for a single header in the Set-Cookie case for example. We should support multiple headers with the same name when they are returned from an upstream service in the REST Connector.

Describe the solution you'd like

When the REST Connector receives multiple values for the same header it should return the list of values inside the header map:

{"headers": {
  "regularHeader": "regularValue", 
  "Set-Cookie": ["1234", "mySpecialAuthToken"] 
}}

Additional context

https://jira.camunda.com/browse/SUPPORT-25027

@sbuettner sbuettner added the kind:enhancement New feature or request label Dec 16, 2024
@sbuettner sbuettner added this to the 8.7.0 milestone Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants