Skip to content

Remove deprecated HttpComponents5Connection usage #1497

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

Closed
wants to merge 1 commit into from

Conversation

bclozel
Copy link
Member

@bclozel bclozel commented Mar 11, 2025

Prior to this commit, HttpComponents5Connection would use deprecated methods from HttpClient. This commit updates the deprecated execute in favor of executeOpen, while checking that the response resource is properly closed when the call is done.

Fixes gh-1469

Prior to this commit, `HttpComponents5Connection` would use deprecated
methods from `HttpClient`. This commit updates the deprecated `execute`
in favor of `executeOpen`, while checking that the response resource is
properly closed when the call is done.

Fixes spring-projectsgh-1469

Signed-off-by: Brian Clozel <brian.clozel@broadcom.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 11, 2025
@snicoll snicoll added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 11, 2025
@snicoll snicoll self-assigned this Mar 11, 2025
@snicoll snicoll added this to the 4.1.0-M1 milestone Mar 11, 2025
@snicoll
Copy link
Member

snicoll commented Mar 11, 2025

Given that this changes the signature of a constructor, let's do that in 4.1.x

@snicoll
Copy link
Member

snicoll commented Mar 11, 2025

Fixed by d7524e3

@snicoll snicoll closed this Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants