Browse Source

Send 303 not 307

tags/v1.0.0
Chris Smith 5 years ago
parent
commit
e80faf1e39
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      main.go

+ 1
- 1
main.go View File

@@ -47,7 +47,7 @@ func handleForm(rw http.ResponseWriter, req *http.Request) {
47 47
 	} else {
48 48
 		rw.Header().Add("Location", "failure")
49 49
 	}
50
-	rw.WriteHeader(http.StatusTemporaryRedirect)
50
+	rw.WriteHeader(http.StatusSeeOther)
51 51
 }
52 52
 
53 53
 func showForm(rw http.ResponseWriter, req *http.Request) {

Loading…
Cancel
Save