[jdk17u-dev] RFR: 8352706: httpclient HeadTest does not run on HTTP2

Goetz Lindenmaier goetz at openjdk.org
Thu Apr 24 17:35:18 UTC 2025


I backport this for parity with 17.0.16-oracle

I had to modify the change as [8276559: (httpclient) Consider adding an HttpRequest.Builder.HEAD method to build a HEAD request.](https://github.com/openjdk/jdk/commit/23e5117a55b3f3d0e3d26bf2d481f4ad1c99af57) is not in 17.
That change added a second test case and refactored the code a bit.

-------------

Commit messages:
 - Backport e32a0c90feb231d791e6c17e6360f629189cab8b

Changes: https://git.openjdk.org/jdk17u-dev/pull/3529/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=3529&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8352706
  Stats: 19 lines in 1 file changed: 7 ins; 9 del; 3 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/3529.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/3529/head:pull/3529

PR: https://git.openjdk.org/jdk17u-dev/pull/3529


More information about the jdk-updates-dev mailing list