Use GET() and PUT() instead of method() by cstamas · Pull Request #740 · apache/maven-resolver
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
Something isn't working
Pull requests that update Java code
labels
Jun 8, 2025
cstamas
marked this pull request as ready for review
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters