[Apiman-user] Apiman returning only a single set-cookie header in response

Marc Savy marc.savy at redhat.com
Fri Apr 13 08:36:41 EDT 2018


Hi Stephen,

Interesting issue. Is this on the Servlet or Vert.x gateway implementation?

I think we might be able to work around it by appending same-key
values into a single value.

i.e.

Foo = Bar
Foo = Baz

becomes

Foo = Bar, Baz

Would that be acceptable for you?

I'll have to investigate how the underlying platforms handle this
case. I have a vague memory of working on something in this area
before, so I'll have to dig in to see what the state of things is.

Regards,
Marc

On 13 April 2018 at 01:31, Stephen Henrie <stephen at chassi.com> wrote:
>
> Hi all,
>
> I have a service that needs to return multiple set-cookie headers back to
> the requesting browser, but I am only seeing one set-cookie header being
> returned from apiman. Has anyone else tried this or know of any issues
> returning multiple headers of the same name but with different values?
>
> This multiple set-cookie headers in the response scenario is commonly
> supported by web servers and browsers.
>
> Thanks in advance.
>
> Stephen
>
>
>
> _______________________________________________
> Apiman-user mailing list
> Apiman-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/apiman-user
>


More information about the Apiman-user mailing list