mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-19 02:15:02 +01:00
rename
This commit is contained in:
1 parent
023a1efdf2
commit
3faa0aa448
3 files changed
+3
-3
No files matched your search
@@ -102,7 +102,7 @@ func (fs *FilerServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request,
|
||||
setEtag(w, etag)
|
||||
|
||||
filename := entry.Name()
|
||||
adjustHeaders(w, r, filename)
|
||||
adjustHeaderContentDisposition(w, r, filename)
|
||||
|
||||
if r.Method == "HEAD" {
|
||||
w.Header().Set("Content-Length", strconv.FormatInt(int64(filer2.TotalSize(entry.Chunks)), 10))
|
||||
|
||||
Reference in new issue
Block a user