1 2 3
async def application(scope, receive, send): if scope['type'] != 'http': raise Exception('Exception blah')