diff --git a/registry/client/blob_writer.go b/registry/client/blob_writer.go index 7b467d84..e76341de 100644 --- a/registry/client/blob_writer.go +++ b/registry/client/blob_writer.go @@ -43,6 +43,8 @@ func (hbu *httpBlobUpload) ReadFrom(r io.Reader) (n int64, err error) { } defer req.Body.Close() + req.Header.Set("Content-Type", "application/octet-stream") + resp, err := hbu.client.Do(req) if err != nil { return 0, err