Klaus Demo bjoern / 52ac676
Test Jonas Haag 2 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
0 # encoding: utf-8
01 import pprint
12 import bjoern
23
34 def app(env, start_response):
4 pprint.pprint(env)
5 start_response('200 yo', [])
6 return []
5 start_response('200 yo', [('Content-Type', 'text/plain'), ('Ü', 'ä'), ('a'*1000, 'b'*1000)])
6 return [b'foo', b'bar']
77
88 bjoern.run(app, '0.0.0.0', 8080)