|
|
|
@@ -0,0 +1,11 @@ |
|
|
|
def application(environ, start_response): |
|
|
|
"""Simplest possible application object""" |
|
|
|
data = str.encode('Hello, World!\n') |
|
|
|
status = '200 OK' |
|
|
|
response_headers = [ |
|
|
|
('Content-type','text/plain'), |
|
|
|
('Content-Length', str(len(data))) |
|
|
|
] |
|
|
|
start_response(status, response_headers) |
|
|
|
return iter([data]) |
|
|
|
|