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

Adding cookie_array to headers #3

Closed
wants to merge 1 commit into from
Closed

Conversation

wishdev
Copy link

@wishdev wishdev commented Apr 6, 2011

This adds "better" support for handling multiple set-cookie headers within the parser.

The problem with the current folding is describe here https://github.com/igrigorik/em-http-request/issues#issue/82 (em-http-request uses http_parser.rb as its parser).

This patch adds a cookie_array member to the parser and stores set-cookie headers inside the array so as to allow better usage of the cookies downstream from the parser.

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.

None yet

1 participant