Github user hyPiRion commented on the pull request:
https://github.com/apache/maven-wagon/pull/23#issuecomment-185625955
> > Some maven repositories may respond with 204 NO CONTENT instead of 200
OK when sending in HTTP HEAD requests.
>
> If so, they are violating the RFCs. File an issue against those repos.
Yeah, that was what I originally thought too, but I noticed Apache Ivy
[fixed the exact same
issue](https://github.com/apache/ant-ivy/commit/899f9fd0a9690581f33a715bb5f000397f1bafef.patch)
some years ago. So I went to look at the actual specification, and the RFC
section on [HEAD](http://tools.ietf.org/html/rfc7231#section-4.3.2) seems to
allow it, _technically_ speaking.
I agree that it does not make sense though, so feel free to close this PR
if you folks feel they are violating the RFC, and I'll bring it back to the
repo maintainers.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]