mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-11 14:28:33 +01:00
rename
This commit is contained in:
1 parent
023a1efdf2
commit
3faa0aa448
3 files changed
+3
-3
No files matched your search
@@ -244,7 +244,7 @@ func writeResponseContent(filename, mimeType string, rs io.ReadSeeker, w http.Re
|
||||
}
|
||||
w.Header().Set("Accept-Ranges", "bytes")
|
||||
|
||||
adjustHeaders(w, r, filename)
|
||||
adjustHeaderContentDisposition(w, r, filename)
|
||||
|
||||
if r.Method == "HEAD" {
|
||||
w.Header().Set("Content-Length", strconv.FormatInt(totalSize, 10))
|
||||
|
||||
Reference in new issue
Block a user