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

Configure AHC to Use NoOp CookieStore by Default #2414



Copy link

@ChristopherDavenport ChristopherDavenport commented Feb 13, 2019

Fixes #2413

@@ -145,4 +149,12 @@ object AsyncHttpClient {
Headers( { header =>
Header(header.getKey, header.getValue)
private class NoOpCookieStore extends CookieStore {
val empty: java.util.List[Cookie] = new java.util.ArrayList()
Copy link

@rossabaker rossabaker Feb 13, 2019

For what it's worth, Java's constant is called Collections.EMPTY_LIST.

@ChristopherDavenport ChristopherDavenport merged commit 2745bc2 into http4s:master Feb 13, 2019
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
@ChristopherDavenport ChristopherDavenport deleted the noOpCookieStore branch Feb 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants