diff --git a/httpr.go b/httpr.go index 7cbaf89..f2b1352 100644 --- a/httpr.go +++ b/httpr.go @@ -187,7 +187,7 @@ func New() *Router { func (rr *Router) ServeHTTP(w http.ResponseWriter, r *http.Request) { tree, ok := rr.tree[r.Method] if !ok { - http.Error(w, http.StatusText(http.StatusMethodNotAllowed), http.StatusMethodNotAllowed) + http.Error(w, http.StatusText(http.StatusNotImplemented), http.StatusNotImplemented) return }