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

Implemented cookie jar and its use in http redirection #1495

Merged
merged 1 commit into from
Jan 11, 2018
Merged

Implemented cookie jar and its use in http redirection #1495

merged 1 commit into from
Jan 11, 2018

Conversation

unoexperto
Copy link
Contributor

Motivation:

Existing implementation doesn't have proper support of cookie jar. It causes problem when requesting http URL that redirects to another location.

Modifications:

Implemented configurable CookieStore and default thread-safe implementation of it. Also modified redirection interceptor to use it.

Result:

Cookie store will be used for all http requests.

Motivation:

Existing implementation doesn't have proper support of cookie jar. It causes problem when requesting http URL that redirects to another location.

Modifications:

Implemented configurable CookieStore and default thread-safe implementation of it. Also modified redirection interceptor to use it.

Result:

Cookie store will be used for all http requests.
@slandelle slandelle added this to the 2.1.0 milestone Jan 11, 2018
@slandelle slandelle merged commit 49baa4b into AsyncHttpClient:master Jan 11, 2018
@slandelle
Copy link
Contributor

Thanks a lot!

@unoexperto
Copy link
Contributor Author

@slandelle My pleasure! Let me know if you need help with another feature or something.

@slandelle
Copy link
Contributor

I've just merged another PR that introduces SOCKS proxies support.
I'll release 2.1.0 on Monday.

Let me know if you need help with another feature or something.

Help is always welcome :) Doc, pending issues/features, whatever...

@qinghuoptum
Copy link

This PR use the content of CookieStore to override the header("Cookie"). Instead of doing override, can we MEGER CookieStore to existing header("Cookie") if it exists.

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

Successfully merging this pull request may close these issues.

3 participants