forked from TrueCloudLab/distribution
82609180a1
* tag service: properly handle error responses on HEAD requests by re-issuing requests as GET for proper error details. Fixes #1911. Signed-off-by: dmitri <deemok@gmail.com> * Simplify handling of failing HEAD requests in TagService and make a GET request for cases: - if the server does not handle HEAD - if the response was an error to get error details Signed-off-by: dmitri <deemok@gmail.com> * Add a missing http.Response.Body.Close call for the GET request. Signed-off-by: dmitri <deemok@gmail.com> |
||
---|---|---|
.. | ||
auth | ||
transport | ||
blob_writer.go | ||
blob_writer_test.go | ||
errors.go | ||
errors_test.go | ||
repository.go | ||
repository_test.go |