From eedf36974186de9704839892378948f414748edd Mon Sep 17 00:00:00 2001 From: Xu Jing Date: Mon, 8 Jun 2020 09:33:35 -0400 Subject: [PATCH] fix(comment typo): (#959) Thanks! --- starlette/routing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/starlette/routing.py b/starlette/routing.py index d6a1d4ea..ac48169b 100644 --- a/starlette/routing.py +++ b/starlette/routing.py @@ -572,7 +572,7 @@ class Router: if partial is not None: #  Handle partial matches. These are cases where an endpoint is # able to handle the request, but is not a preferred option. - # We use this in particular to deal with "406 Method Not Found". + # We use this in particular to deal with "405 Method Not Allowed". scope.update(partial_scope) await partial.handle(scope, receive, send) return