mirror of
https://github.com/distribution/distribution.git
synced 2025-09-01 06:57:45 +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>