[jdk11u-dev] RFR: 8232625: HttpClient redirect policy should be more conservative
Andrew John Hughes
andrew at openjdk.org
Thu May 8 22:05:59 UTC 2025
On Wed, 7 May 2025 10:58:14 GMT, Antonio Vieiro <duke at openjdk.org> wrote:
> Clean backport of [JDK-8232625](https://bugs.openjdk.org/browse/JDK-8232625) that improves HttpClient redirection by dropping the body when the HTTP request method changes.
>
> Tested on linux with tier1 tests and the following:
>
>
> ==============================
> Test summary
> ==============================
> TEST TOTAL PASS FAIL ERROR
> jtreg:test/jdk/java/net/httpclient 204 204 0 0
> ==============================
> TEST SUCCESS
Confirmed clean
-------------
Marked as reviewed by andrew (Reviewer).
PR Review: https://git.openjdk.org/jdk11u-dev/pull/3030#pullrequestreview-2826459262
More information about the jdk-updates-dev
mailing list