missing content-type for the general case added

This commit is contained in:
Özgür Kesim 2019-06-14 11:30:22 +02:00
parent 7e4fa87020
commit 5d3cf69c90

View File

@ -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 {