diff --git a/main.go b/main.go index 4bd5a6e..9e9d6c2 100644 --- a/main.go +++ b/main.go @@ -113,6 +113,7 @@ func handleRequest(w http.ResponseWriter, r *http.Request) { } log.Println("Successfully written", n, "bytes to file", fileStorePath) + w.WriteHeader(http.StatusCreated) } else { log.Println("Invalid MAC.") http.Error(w, "403 Forbidden", 403)