Use GET() and PUT() instead of method() by cstamas · Pull Request #740 · apache/maven-resolver

@cstamas

But this does not work for HEAD() that is 18+.
Moreover, builder `method(String, BodyPublisher)`
enforces body publisher as non-null, while the logic
to stop emitting `Content-Length: 0` on GET and HEAD
expects `null` body publisher.

Fixes apache#739

@cstamas self-assigned this

Jun 8, 2025

@cstamas cstamas added bug

Something isn't working

java

Pull requests that update Java code

labels

Jun 8, 2025

@cstamas cstamas marked this pull request as ready for review

June 8, 2025 14:44

slawekjaranowski