2012-09-27 19:14:40 +02:00

8 lines
161 B
Python

from gunicorn.config import Config
from gunicorn.http.errors import InvalidProxyLine
cfg = Config()
cfg.set('proxy_protocol', True)
request = InvalidProxyLine