update ReADME
This commit is contained in:
@@ -157,7 +157,7 @@ func (hand *Handler) GetManifest(rctx *router.Context) {
|
||||
//hand.logg.Debugf("GetManifest type: %s", res.ContentType)
|
||||
//hand.logg.Debugf("GetManifest payload: %s", res.Payload)
|
||||
rctx.SetHeader("Content-Length", res.ContentLength)
|
||||
//rctx.SetHeader("Content-Type", res.ContentType)
|
||||
rctx.SetHeader("Content-Type", res.ContentType)
|
||||
rctx.SetHeader("Docker-Content-Digest", res.DockerContentDigest)
|
||||
rctx.SendBytes(code, res.ContentType, []byte(res.Payload))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user