mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Fix sendfile.py example
This commit is contained in:
parent
69c508ac6e
commit
ea57dfec98
@ -9,7 +9,7 @@ import os
|
|||||||
from wsgiref.validate import validator
|
from wsgiref.validate import validator
|
||||||
|
|
||||||
|
|
||||||
@validator
|
# @validator # breaks sendfile
|
||||||
def app(environ, start_response):
|
def app(environ, start_response):
|
||||||
"""Simplest possible application object"""
|
"""Simplest possible application object"""
|
||||||
status = '200 OK'
|
status = '200 OK'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user