router: Change 405 status text
diff --git a/router.go b/router.go index 8d69383..759254b 100644 --- a/router.go +++ b/router.go
@@ -320,7 +320,7 @@ } if handle, _, _ := r.trees[method].getValue(req.URL.Path); handle != nil { - http.Error(w, "405 method not allowed", http.StatusMethodNotAllowed) + http.Error(w, "Method not allowed", http.StatusMethodNotAllowed) return } }