Convert HTTP 302 responses to more-accurate 303.

This commit is contained in:
Patrick Fairbank
2017-09-02 14:08:16 -07:00
parent 13dd9dbb42
commit 4e418434da
17 changed files with 58 additions and 58 deletions

View File

@@ -134,7 +134,7 @@ func (web *Web) matchReviewEditPostHandler(w http.ResponseWriter, r *http.Reques
web.arena.RedRealtimeScore.Cards = matchResult.RedCards
web.arena.BlueRealtimeScore.Cards = matchResult.BlueCards
http.Redirect(w, r, "/match_play", 302)
http.Redirect(w, r, "/match_play", 303)
} else {
err = web.commitMatchScore(match, matchResult, false)
if err != nil {
@@ -142,7 +142,7 @@ func (web *Web) matchReviewEditPostHandler(w http.ResponseWriter, r *http.Reques
return
}
http.Redirect(w, r, "/match_review", 302)
http.Redirect(w, r, "/match_review", 303)
}
}