From 2842d0c9dcd57f8b8d85d4dc38371cd06126ccd6 Mon Sep 17 00:00:00 2001 From: ZizzyDizzyMC Date: Sun, 21 Feb 2021 21:41:20 -0500 Subject: [PATCH] Update upload.go --- upload.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload.go b/upload.go index ffc6ce0..ecad53e 100644 --- a/upload.go +++ b/upload.go @@ -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) { - if r.Header.Get("Test-Header" == "test" { + if r.Header.Get("Test-Header") == "test" { oopsHandler(c, w, r, RespHTML, "You killed it") } upReq := UploadRequest{}