This is less of an issue and more of a question - how does one set duplicate headers in the HTTP response?
I am trying to set 2 cookies on the HTTP response, and according to the Headers class in the Goliath framework, Set-Cookie is an allowed duplicate header. However the Goliath framework requires that headers are set as a hash which does not allow duplicate keys (i.e. header names like Set-Cookie). Any sample code revealing if/ how this can be done will be greatly appreciated.
This is less of an issue and more of a question - how does one set duplicate headers in the HTTP response?
I am trying to set 2 cookies on the HTTP response, and according to the
Headersclass in the Goliath framework,Set-Cookieis an allowed duplicate header. However the Goliath framework requires that headers are set as ahashwhich does not allow duplicate keys (i.e. header names likeSet-Cookie). Any sample code revealing if/ how this can be done will be greatly appreciated.