mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00
10 lines
317 B
Python
10 lines
317 B
Python
def app(environ, start_response):
|
|
"""Simplest possible application object"""
|
|
data = b"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])
|