mirror of
https://github.com/distribution/distribution.git
synced 2025-09-21 11:09:15 +00:00
HEAD requests for instance return no body while still having all the relevant Content-Type headers set, causing unnecessary parsing errors. This skips further parsing for all requests that don't have any body to begin with. Signed-off-by: Markus Thömmes <markusthoemmes@me.com>