mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
remove useless lines in example
This commit is contained in:
parent
3d0b0fe012
commit
3452379108
@ -17,8 +17,6 @@ def app(environ, start_response):
|
||||
data = b'Hello, World!\n'
|
||||
status = '200 OK'
|
||||
|
||||
print("foo=%s" % (os.environ['FOO']))
|
||||
|
||||
response_headers = [
|
||||
('Content-type','text/plain'),
|
||||
('Content-Length', str(len(data))),
|
||||
@ -26,5 +24,4 @@ def app(environ, start_response):
|
||||
("Test", "test тест"),
|
||||
]
|
||||
start_response(status, response_headers)
|
||||
print("test")
|
||||
return iter([data])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user