--- /dev/null
+from typing import Any\r
+\r
+class CGIRootFix:\r
+ app = ... # type: Any\r
+ app_root = ... # type: Any\r
+ def __init__(self, app, app_root=''): ...\r
+ def __call__(self, environ, start_response): ...\r
+\r
+LighttpdCGIRootFix = ... # type: Any\r
+\r
+class PathInfoFromRequestUriFix:\r
+ app = ... # type: Any\r
+ def __init__(self, app): ...\r
+ def __call__(self, environ, start_response): ...\r
+\r
+class ProxyFix:\r
+ app = ... # type: Any\r
+ num_proxies = ... # type: Any\r
+ def __init__(self, app, num_proxies=1): ...\r
+ def get_remote_addr(self, forwarded_for): ...\r
+ def __call__(self, environ, start_response): ...\r
+\r
+class HeaderRewriterFix:\r
+ app = ... # type: Any\r
+ remove_headers = ... # type: Any\r
+ add_headers = ... # type: Any\r
+ def __init__(self, app, remove_headers=None, add_headers=None): ...\r
+ def __call__(self, environ, start_response): ...\r
+\r
+class InternetExplorerFix:\r
+ app = ... # type: Any\r
+ fix_vary = ... # type: Any\r
+ fix_attach = ... # type: Any\r
+ def __init__(self, app, fix_vary=True, fix_attach=True): ...\r
+ def fix_headers(self, environ, headers, status=None): ...\r
+ def run_fixed(self, environ, start_response): ...\r
+ def __call__(self, environ, start_response): ...\r