From 31cb99467c2cca5f989eab3516e920d620c4f85a Mon Sep 17 00:00:00 2001 From: Colin Henry Date: Thu, 10 Dec 2020 09:25:23 -0800 Subject: [PATCH] fix incorrect return code --- net/http/multihandler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/http/multihandler.go b/net/http/multihandler.go index bb5d8f8..473fdda 100644 --- a/net/http/multihandler.go +++ b/net/http/multihandler.go @@ -30,7 +30,7 @@ func MutliHandler(h map[string]http.Handler) (http.HandlerFunc, error) { if hdlr, ok := h[r.Method]; ok { hdlr.ServeHTTP(w, r) } else { - NotFoundHandler.ServeHTTP(w, r) + NotImplementedHandler.ServeHTTP(w, r) } }, nil }