Skip to content

Deprecate HttpRequest in favor of native JDK HttpClient - #2713

Merged
wizjany merged 1 commit into
masterfrom
chore/deprecate-http-request
Apr 9, 2025
Merged

Deprecate HttpRequest in favor of native JDK HttpClient#2713
wizjany merged 1 commit into
masterfrom
chore/deprecate-http-request

Conversation

@me4502

@me4502 me4502 commented Feb 16, 2025

Copy link
Copy Markdown
Member

This PR deprecates the HttpRequest class, and swaps its one usage over to the JDK HttpClient class.

I've also taken the opportunity to move the paste callback to use the V2 signed paste API, which has a larger file size cap and doesn't require multipart form encoding.

Closes #2480

@me4502
me4502 requested a review from a team as a code owner February 16, 2025 12:30
@me4502 me4502 added this to the 7.4.0 milestone Feb 16, 2025
@me4502
me4502 force-pushed the chore/deprecate-http-request branch from 52f037f to a9fc1ab Compare February 18, 2025 11:03
Comment thread worldedit-core/src/main/java/com/sk89q/worldedit/util/paste/EngineHubPaste.java Outdated
Comment thread worldedit-core/src/main/java/com/sk89q/worldedit/util/paste/EngineHubPaste.java Outdated
@me4502
me4502 force-pushed the chore/deprecate-http-request branch from 4cf0035 to 7e89297 Compare April 9, 2025 10:44
@me4502
me4502 requested a review from wizjany April 9, 2025 10:44
@me4502
me4502 enabled auto-merge April 9, 2025 10:45
@me4502
me4502 added this pull request to the merge queue Apr 9, 2025
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 9, 2025
@wizjany
wizjany merged commit afa2f3f into master Apr 9, 2025
@wizjany
wizjany deleted the chore/deprecate-http-request branch April 9, 2025 13:23
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