Tests: added test for callable write() in Python.
This commit is contained in:
5
test/python/write/wsgi.py
Normal file
5
test/python/write/wsgi.py
Normal file
@@ -0,0 +1,5 @@
|
||||
def application(env, start_response):
|
||||
write = start_response('200', [('Content-Length', '10')])
|
||||
write(b'012')
|
||||
write(b'345')
|
||||
return b'6789'
|
||||
Reference in New Issue
Block a user