Skip to content

Upgrade to Spring Boot 4.0 / Spring 7#151

Open
bjansen wants to merge 1 commit intomkopylec:masterfrom
bjansen:spring-boot-4
Open

Upgrade to Spring Boot 4.0 / Spring 7#151
bjansen wants to merge 1 commit intomkopylec:masterfrom
bjansen:spring-boot-4

Conversation

@bjansen
Copy link
Contributor

@bjansen bjansen commented Nov 28, 2025

OkHttp3ClientHttpRequestFactory has been deprecated in Spring 6 and then removed in Spring 7, so I had to improvise and decided to switch to Apache HttpClient 5.

Replace unsupported OkHttp with Apache HttpClient 5
@bjansen
Copy link
Contributor Author

bjansen commented Nov 28, 2025

Your ci.yml seems to be broken when it builds external pull requests, but everything was green when it ran on my repo:

image

@bjansen
Copy link
Contributor Author

bjansen commented Dec 18, 2025

@mkopylec would it be possible to take a look at this PR please?

1 similar comment
@bjansen
Copy link
Contributor Author

bjansen commented Jan 29, 2026

@mkopylec would it be possible to take a look at this PR please?

@kaihenkel
Copy link

@bjansen thanks a lot for this PR. I am in no way related to this project but we use it in our product as well - and we needed the update.
On a side note, the reason the test fails is ResponseProtocolHeadersRewritingBasicSpec contains moc responses with the header 'Transfer-Encoding' which is not supported by the apache http-client5.
My Solution - just ommit the header, since it is not supported anyway.

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

Successfully merging this pull request may close these issues.

2 participants