Skip to content

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