Merge pull request #671 from RichardScothern/false-err
Prevent the ErrUnsupportedMethod error from being returned up the stack.
This commit is contained in:
commit
3709f89d9a
@ -65,6 +65,7 @@ func (bs *blobServer) ServeBlob(ctx context.Context, w http.ResponseWriter, r *h
|
|||||||
}
|
}
|
||||||
|
|
||||||
http.ServeContent(w, r, desc.Digest.String(), time.Time{}, br)
|
http.ServeContent(w, r, desc.Digest.String(), time.Time{}, br)
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Some unexpected error.
|
// Some unexpected error.
|
||||||
|
Loading…
Reference in New Issue
Block a user