Update upload.go

This commit is contained in:
ZizzyDizzyMC 2021-02-21 21:41:20 -05:00
parent baa3c3c1d3
commit 2842d0c9dc
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ func uploadPostHandler(c web.C, w http.ResponseWriter, r *http.Request) {
} }
func uploadPutHandler(c web.C, w http.ResponseWriter, r *http.Request) { func uploadPutHandler(c web.C, w http.ResponseWriter, r *http.Request) {
if r.Header.Get("Test-Header" == "test" { if r.Header.Get("Test-Header") == "test" {
oopsHandler(c, w, r, RespHTML, "You killed it") oopsHandler(c, w, r, RespHTML, "You killed it")
} }
upReq := UploadRequest{} upReq := UploadRequest{}