aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorÖzgür Kesim <oec@codeblau.de>2019-06-14 11:02:34 +0200
committerÖzgür Kesim <oec@codeblau.de>2019-06-14 11:02:34 +0200
commit6c7d5f258fc754e6623a9a0b56d4420c068f6931 (patch)
treee907805787b38b806e0c1dbed5338b38cc54ddec /main.go
parent549ed6a93bca529e7371a00404ff58e4328e6edb (diff)
Revert "add image/svg+xml as Content-Type for svg"
This reverts commit 549ed6a93bca529e7371a00404ff58e4328e6edb. maste was already ahead with this.
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/main.go b/main.go
index 796fae4..c3afed3 100644
--- a/main.go
+++ b/main.go
@@ -47,7 +47,6 @@ func (t Tool) execute(in io.Reader, w http.ResponseWriter) {
cmd.Stdout = buf
if e := cmd.Run(); e == nil {
- w.Header().Set("Content-Type", "image/svg+xml")
io.Copy(w, buf)
} else {
log.Printf("%s returned error\n", t.Name)