Skip to content

Instantly share code, notes, and snippets.

@imhoffd
Created August 31, 2014 17:59
Show Gist options
  • Save imhoffd/09512df599eee5134493 to your computer and use it in GitHub Desktop.
Save imhoffd/09512df599eee5134493 to your computer and use it in GitHub Desktop.
import os
import sys
sys.path.append('/home/dwieeb/kisasa-5000/application')
sys.path.append('/home/dwieeb/.python/lib/python3.4/site-packages')
os.environ['PYTHON_EGG_CACHE'] = '/home/dwieeb/.python-egg'
def application(environ, start_response):
status = '200 OK'
output = 'Hello World!'
response_headers = [('Content-type', 'text/plain'),
('Content-Length', str(len(output)))]
start_response(status, response_headers)
return [output]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment