diff --git a/registry/client/repository.go b/registry/client/repository.go index 793a662d..0a2bfec1 100644 --- a/registry/client/repository.go +++ b/registry/client/repository.go @@ -757,7 +757,12 @@ func (bs *blobs) Create(ctx context.Context, options ...distribution.BlobCreateO return nil, err } - resp, err := bs.client.Post(u, "", nil) + req, err := http.NewRequest("POST", u, nil) + if err != nil { + return nil, err + } + + resp, err := bs.client.Do(req) if err != nil { return nil, err }