Remove plain/text header
This commit is contained in:
parent
b6973eddb0
commit
97b99b06df
1
main.go
1
main.go
|
@ -238,7 +238,6 @@ func rawHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
vars := mux.Vars(r)
|
vars := mux.Vars(r)
|
||||||
paste := vars["pasteId"]
|
paste := vars["pasteId"]
|
||||||
s := getPaste(paste)
|
s := getPaste(paste)
|
||||||
w.Header().Set("Content-Type", "plain/text")
|
|
||||||
io.WriteString(w, s)
|
io.WriteString(w, s)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue