mirror of
https://github.com/kennethreitz/responder.git
synced 2026-06-05 23:00:17 +00:00
Call user-provided default_response
I'm not 100% sure, but it seems that user-provided `default_response`, stored as `Router.default_endpoint`, should be called when no match was found.
This commit is contained in:
+1
-1
@@ -356,4 +356,4 @@ class Router:
|
||||
await app(scope, receive, send)
|
||||
return
|
||||
|
||||
await self.default_response(scope, receive, send)
|
||||
await self.default_endpoint(scope, receive, send)
|
||||
|
||||
Reference in New Issue
Block a user