From 0654b0c06b516172a5d83759e2b781c9f37f854f Mon Sep 17 00:00:00 2001 From: JoramWilander Date: Mon, 14 Sep 2015 14:18:01 -0400 Subject: Blank Content-Type for file GETs. --- api/file.go | 1 + 1 file changed, 1 insertion(+) (limited to 'api') diff --git a/api/file.go b/api/file.go index 1d8244fac..692558acf 100644 --- a/api/file.go +++ b/api/file.go @@ -349,6 +349,7 @@ func getFile(c *Context, w http.ResponseWriter, r *http.Request) { w.Header().Set("Cache-Control", "max-age=2592000, public") w.Header().Set("Content-Length", strconv.Itoa(len(f))) + w.Header().Set("Content-Type", "") // need to provide proper Content-Type in the future w.Write(f) } -- cgit v1.2.3-1-g7c22