Fix README.md (#438)

This commit is contained in:
Mostafa Aitbrahim 2019-03-19 09:17:39 +00:00 committed by Tom Christie
parent f29d49b583
commit 9530470c59
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ from starlette.responses import PlainTextResponse
class App:
def __init__(self, scope):
assert scope['type'] == 'http'
self.scope = scope
async def __call__(self, receive, send):