diff --git a/isso/__init__.py b/isso/__init__.py index ff8f6b4..7795c4f 100644 --- a/isso/__init__.py +++ b/isso/__init__.py @@ -194,7 +194,7 @@ def make_app(conf=None, threading=True, multiprocessing=False, uwsgi=False): allowed=("Origin", "Referer", "Content-Type"), exposed=("X-Set-Cookie", "Date"))) - wrapper.extend([wsgi.SubURI, ProxyFix, wsgi.LegacyWerkzeugMiddleware]) + wrapper.extend([wsgi.SubURI, ProxyFix]) if werkzeug.version.startswith("0.8"): wrapper.append(wsgi.LegacyWerkzeugMiddleware)