diff --git a/README.md b/README.md index f55e4876..98af78aa 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ class GatewayServer: self.pool = httpcore.PoolManager() async def __call__(self, scope, receive, send): + assert scope['type'] == 'http' path = scope['path'] query = scope['query_string'] method = scope['method']