From 97b99b06df8217982a9ff02bb4f2c50e7eff4886 Mon Sep 17 00:00:00 2001 From: Eliot Whalan Date: Thu, 23 Jun 2016 18:59:05 +1000 Subject: [PATCH] Remove plain/text header --- main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/main.go b/main.go index 142b1cf..4f554b6 100644 --- a/main.go +++ b/main.go @@ -238,7 +238,6 @@ func rawHandler(w http.ResponseWriter, r *http.Request) { vars := mux.Vars(r) paste := vars["pasteId"] s := getPaste(paste) - w.Header().Set("Content-Type", "plain/text") io.WriteString(w, s) }