Advertisement
Guest User

Untitled

a guest
Apr 25th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. def application(environ, start_response):
  2. status = '200 OK'
  3. output = b'Hello World!'
  4.  
  5. response_headers = [('Content-type', 'text/plain'),
  6. ('Content-Length', str(len(output)))]
  7. start_response(status, response_headers)
  8.  
  9. return [output]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement