mirror of
https://github.com/project-zot/zot.git
synced 2025-04-08 02:54:41 -05:00
Merge pull request #38 from rchincha/reorder
reorder header and data writes
This commit is contained in:
commit
3e7ca9c517
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue