mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-22 03:17:24 +08:00
Fix filer proxing http status code
Double quote etag value.
This commit is contained in:
@@ -95,7 +95,7 @@ func (vs *VolumeServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request)
|
||||
w.WriteHeader(http.StatusNotModified)
|
||||
return
|
||||
}
|
||||
w.Header().Set("Etag", etag)
|
||||
w.Header().Set("Etag", "\""+etag+"\"")
|
||||
if n.NameSize > 0 && filename == "" {
|
||||
filename = string(n.Name)
|
||||
dotIndex := strings.LastIndex(filename, ".")
|
||||
|
Reference in New Issue
Block a user