We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4fcc57 commit 9516954Copy full SHA for 9516954
main.go
@@ -149,6 +149,8 @@ func setContentType(r *http.Request, resp *http.Response) {
149
return
150
}
151
152
+ resp.Header.Del("Content-Type")
153
+
154
rext := strings.ToLower(filepath.Ext(resp.Header.Get("ZIPSVR_FILENAME")))
155
ext := strings.ToLower(filepath.Ext(strings.TrimSpace(r.URL.Path)))
156
mime := ""
0 commit comments