aboutsummaryrefslogtreecommitdiff
path: root/weed/server/common.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-07-25 20:09:19 -0700
committerChris Lu <chris.lu@gmail.com>2020-07-25 20:09:19 -0700
commit3faa0aa4482fbac89f090b0efef920f4ce84776e (patch)
treee340a1d981ea274bfb6035bf6af1b4091f612388 /weed/server/common.go
parent023a1efdf2b05a9e1595e9f95e5919a829d3fea7 (diff)
downloadseaweedfs-3faa0aa4482fbac89f090b0efef920f4ce84776e.tar.xz
seaweedfs-3faa0aa4482fbac89f090b0efef920f4ce84776e.zip
rename
Diffstat (limited to 'weed/server/common.go')
-rw-r--r--weed/server/common.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/server/common.go b/weed/server/common.go
index 7fc4d45f3..75fc3ad9e 100644
--- a/weed/server/common.go
+++ b/weed/server/common.go
@@ -218,7 +218,7 @@ func handleStaticResources2(r *mux.Router) {
r.PathPrefix("/seaweedfsstatic/").Handler(http.StripPrefix("/seaweedfsstatic", http.FileServer(statikFS)))
}
-func adjustHeaders(w http.ResponseWriter, r *http.Request, filename string) {
+func adjustHeaderContentDisposition(w http.ResponseWriter, r *http.Request, filename string) {
if filename != "" {
contentDisposition := "inline"
if r.FormValue("dl") != "" {