diff options
author | Özgür Kesim <oec@codeblau.de> | 2019-06-14 11:30:22 +0200 |
---|---|---|
committer | Özgür Kesim <oec@codeblau.de> | 2019-06-14 11:30:22 +0200 |
commit | 5d3cf69c90aef8f01e9ab11e63982d6849651420 (patch) | |
tree | 1d00e34ae8abbdc403213a35b6ce3f32d3f95cf8 /main.go | |
parent | 7e4fa87020cf6d04a19a20c3a3151f2c78b57085 (diff) |
missing content-type for the general case added
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -78,6 +78,7 @@ func (t *Tool) execute(in io.Reader, w http.ResponseWriter) { w.Header().Add("Content-Type", t.ContentType) io.Copy(base64.NewEncoder(base64.StdEncoding, w), buf) } else { + w.Header().Add("Content-Type", "image/svg+xml") io.Copy(w, buf) } } else { |