Merge pull request #499 from mattermost/MM-2033

MM-2033 fixes img showing infinity progress
Этот коммит содержится в:
Joram Wilander
2015-08-27 14:47:48 -04:00
родитель 1d23d9db60 0bd96663f9
Коммит c7e83f634a

Просмотреть файл

@@ -347,6 +347,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.Write(f)
}