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

Handle duplicate cookies. #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HappyEinara
Copy link
Contributor

Use HttpHeaderDict.itermerged() rather than .items() to preserve all cookie
values (as a single comma-separated value) where multiple cookies are received
with the same key.

https://github.com/urllib3/urllib3/blob/7d813bce9b1e39e45678209ccca771e825bc9472/src/urllib3/_collections.py#L294

Use HttpHeaderDict.itermerged() rather than .items() to preserve all cookie
values (as a single comma-separated value) where multiple cookies are received
with the same key.

https://github.com/urllib3/urllib3/blob/7d813bce9b1e39e45678209ccca771e825bc9472/src/urllib3/_collections.py#L294
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

Successfully merging this pull request may close these issues.

1 participant