-
Notifications
You must be signed in to change notification settings - Fork 91
Upgrade to HttpClient5 for HttpComponentsClientHttpRequestFactory in Spring 6 #300
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
Comments
https://hc.apache.org/httpcomponents-client-5.2.x/migration-guide/preparation.html Just for the records ;) |
FWIW https://chat.openai.com/share/3b804a18-c795-41e6-8254-335e340e9347 I asked chatGPT to do the job ;) |
I'm assuming this is the same issue I have just seen, which is that when I applied the recipe If this is not the same issue (?) I can create a separate new issue. |
As an update here: we've spin off the Apache HttpClient recipes into rewrite-apache: To resolve this issue we'd need to add a dependency on |
HttpComponents did a GAV change with 5, so projects with explicit dependencies on this library may be stuck on 4.x and fall into the compatibility trap documented above.
This recipe could possibly have an applicability test for projects using HttpComponentsClientHttpRequestFactory, to decrease risk of performing this upgrade (and introducing some other breaking change) on projects which don't imminently need it.
The text was updated successfully, but these errors were encountered: