distribution/internal/client
Markus Thömmes e8820b2564 Don't try to parse error responses with no body
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>
2024-03-20 11:46:14 +01:00
..
auth fix: typo 2024-03-04 11:00:08 +08:00
transport remove deprecated ReadSeekCloser interfaces 2024-01-06 12:08:21 +01:00
blob_writer.go Move registry client internal 2023-10-24 12:26:38 -04:00
blob_writer_test.go Move registry client internal 2023-10-24 12:26:38 -04:00
errors.go Don't try to parse error responses with no body 2024-03-20 11:46:14 +01:00
errors_test.go Don't try to parse error responses with no body 2024-03-20 11:46:14 +01:00
repository.go Move registry client internal 2023-10-24 12:26:38 -04:00
repository_test.go Move context package internal 2023-10-27 10:58:37 -04:00