Remove plain/text header
This commit is contained in:
parent
828646e236
commit
8f1a9a04e8
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