We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9aebf9 commit 30d333aCopy full SHA for 30d333a
src/serverHandler/mutate.go
@@ -7,7 +7,7 @@ import (
7
8
func (h *aliasHandler) mutate(w http.ResponseWriter, r *http.Request, data *responseData) {
9
if r.Method != http.MethodPost {
10
- w.WriteHeader(http.StatusBadRequest)
+ w.WriteHeader(http.StatusMethodNotAllowed)
11
return
12
}
13
0 commit comments