-
Notifications
You must be signed in to change notification settings - Fork 122
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
Multiple headers with the same name #59
Comments
I should note that $response->header('Set-Cookie') works as expected by creating a comma-separated list :) |
I run into the same problem. Took me quite some time to figure it out. |
Is this just the use of Lines 270 to 275 in 39f84d0
|
@pxgamer this is one way to solve it. but it's a breaking change :) it will convert all values into arrays of strings instead of just strings. |
I am trying to connect to a server that returns three headers with the same name:
Set-Cookie
. When I do a simpleit returns an array of headers, but
Set-Cookie
is only one there.Expected: There should be an array of cookies returned:
Actual: Only first cookie is returned
The text was updated successfully, but these errors were encountered: