Klaus Demo bjoern / 7c98592
Add tests Jonas Haag 1 year, 1 month ago
2 changed file(s) with 16 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 def app(e, s):
1 s('204 no content', [])
2 return b''
3
4 import bjoern
5 bjoern.run(app, '0.0.0.0', 8081)
0 import pprint
1 import bjoern
2
3 def app(env, start_response):
4 pprint.pprint(env)
5 start_response('200 yo', [])
6 return []
7
8 if __name__ == '__main__':
9 bjoern.run(app, '0.0.0.0', 8080)