This commit is contained in:
Chris Lu
2018-11-23 00:26:15 -08:00
parent 444dfded84
commit 86dd933596
12 changed files with 28 additions and 27 deletions

View File

@@ -94,7 +94,7 @@ func (vs *VolumeServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request)
}
if r.Header.Get("ETag-MD5") == "True" {
setEtag(w, n.MD5())
}else{
} else {
setEtag(w, n.Etag())
}