Initial commit
This commit is contained in:
commit
097ad5f457
1 changed files with 12 additions and 0 deletions
12
mocha.py
Normal file
12
mocha.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
import sys
|
||||
|
||||
def application(environ, start_response):
|
||||
status = '200 OK'
|
||||
output = b'Sup, y\'all.\n'
|
||||
|
||||
response_headers = [('Content-type', 'text/plain'),
|
||||
('Content-Length', str(len(output)))]
|
||||
|
||||
start_response(status, response_headers)
|
||||
|
||||
return [output]
|
Reference in a new issue