1 from typing import Any
\r
4 app = ... # type: Any
\r
5 app_root = ... # type: Any
\r
6 def __init__(self, app, app_root=''): ...
\r
7 def __call__(self, environ, start_response): ...
\r
9 LighttpdCGIRootFix = ... # type: Any
\r
11 class PathInfoFromRequestUriFix:
\r
12 app = ... # type: Any
\r
13 def __init__(self, app): ...
\r
14 def __call__(self, environ, start_response): ...
\r
17 app = ... # type: Any
\r
18 num_proxies = ... # type: Any
\r
19 def __init__(self, app, num_proxies=1): ...
\r
20 def get_remote_addr(self, forwarded_for): ...
\r
21 def __call__(self, environ, start_response): ...
\r
23 class HeaderRewriterFix:
\r
24 app = ... # type: Any
\r
25 remove_headers = ... # type: Any
\r
26 add_headers = ... # type: Any
\r
27 def __init__(self, app, remove_headers=None, add_headers=None): ...
\r
28 def __call__(self, environ, start_response): ...
\r
30 class InternetExplorerFix:
\r
31 app = ... # type: Any
\r
32 fix_vary = ... # type: Any
\r
33 fix_attach = ... # type: Any
\r
34 def __init__(self, app, fix_vary=True, fix_attach=True): ...
\r
35 def fix_headers(self, environ, headers, status=None): ...
\r
36 def run_fixed(self, environ, start_response): ...
\r
37 def __call__(self, environ, start_response): ...
\r