asgi.py (1848:4bd548074e2c) asgi.py (1971:3410f9d2a662)
1import asyncio
2import time
3import threading
1import threading
2import time
4
5
6async def application(scope, receive, send):
7 assert scope['type'] == 'http'
8
9 headers = scope.get('headers', [])
10
11 def get_header(n, v=None):

--- 19 unchanged lines hidden ---
3
4
5async def application(scope, receive, send):
6 assert scope['type'] == 'http'
7
8 headers = scope.get('headers', [])
9
10 def get_header(n, v=None):

--- 19 unchanged lines hidden ---