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

Upgrade httpclient to 5.x #89

Open
jsvd opened this issue Oct 30, 2020 · 4 comments
Open

Upgrade httpclient to 5.x #89

jsvd opened this issue Oct 30, 2020 · 4 comments

Comments

@jsvd
Copy link
Contributor

jsvd commented Oct 30, 2020

It seems that new fixes and enhancements are no longer added to httpclient 4.x so it may be time to adopt 5.x in this project as well.

An example of the need for this is support of 308 redirects, which has only been added to 5.0.x https://github.com/apache/httpcomponents-client/commit/2b6f7e5/

@cheald
Copy link
Owner

cheald commented Oct 30, 2020

Are the artifacts available somewhere? Maven is only showing 4.x.

https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient

Edit: Nevermind, found them at a new namespace: https://mvnrepository.com/artifact/org.apache.httpcomponents.client5

Will probably be a bit of work to upgrade, since a bunch of imports will have changed.

@jsvd
Copy link
Contributor Author

jsvd commented Oct 30, 2020 via email

@spinenkoia
Copy link

It is also recommended to update due to vulnerabilities
https://nvd.nist.gov/vuln/detail/CVE-2020-13956

@cheald
Copy link
Owner

cheald commented May 26, 2021

I started in on this at one point, but there were deprecations, primarily around HttpEntity, that I never finished resolving. A pull request would be very welcome here.

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

No branches or pull requests

3 participants