mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 20:07:55 +08:00
reorder header and data writes
This commit is contained in:
+1
-1
@@ -218,8 +218,8 @@ func (rh *RouteHandler) GetManifest(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
WriteData(w, http.StatusOK, mediaType, content)
|
||||
w.Header().Set(DistContentDigestKey, digest)
|
||||
WriteData(w, http.StatusOK, mediaType, content)
|
||||
}
|
||||
|
||||
// UpdateManifest godoc
|
||||
|
||||
Reference in New Issue
Block a user