mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-06 01:31:39 -05:00
11 lines
316 B
Python
11 lines
316 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])
|