mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 02:49:12 +08:00
Merge pull request #2887 from python273/patch-1
Fix sendfile.py example
This commit is contained in:
commit
5aeb0652e1
@ -8,7 +8,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