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

multiple response headers with the same name are being clobbered #378

Closed
twelve17 opened this issue Sep 10, 2021 · 3 comments
Closed

multiple response headers with the same name are being clobbered #378

twelve17 opened this issue Sep 10, 2021 · 3 comments

Comments

@twelve17
Copy link

I'm testing a request to a site that returns multiple set-cookie headers. With ky, I am only seeing one of the headers. Does ky support fetching all the header entries in the response that share the same name?

@twelve17
Copy link
Author

@sindresorhus if I'm reading that SO article correctly, all the values from the multiple headers exist in the merged header. I am not seeing this when using ky. Are you able to?

@twelve17
Copy link
Author

@sindresorhus hmm, I see in the other responses in that thread, the additional complications specific to Set-Cookie. What a shame. Thanks for the pointer.

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

No branches or pull requests

2 participants