Merge pull request #38 from rchincha/reorder

reorder header and data writes
This commit is contained in:
Ramkumar Chinchani 2019-11-26 09:53:43 -08:00 committed by GitHub
commit 3e7ca9c517
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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