2 from typing import IO, Any, Optional
\r
4 from .types import WSGIEnvironment
\r
9 def __init__(self, filelike: IO[bytes], bklsize: int = ...) -> None: ...
\r
10 def __getitem__(self, key: Any) -> bytes: ...
\r
11 def __iter__(self) -> FileWrapper: ...
\r
12 if sys.version_info < (3,):
\r
13 def next(self) -> bytes: ...
\r
15 def __next__(self) -> bytes: ...
\r
16 def close(self) -> None: ... # only exists if filelike.close exists
\r
18 def guess_scheme(environ: WSGIEnvironment) -> str: ...
\r
19 def application_uri(environ: WSGIEnvironment) -> str: ...
\r
20 def request_uri(environ: WSGIEnvironment, include_query: bool = ...) -> str: ...
\r
21 def shift_path_info(environ: WSGIEnvironment) -> Optional[str]: ...
\r
22 def setup_testing_defaults(environ: WSGIEnvironment) -> None: ...
\r
23 def is_hop_by_hop(header_name: str) -> bool: ...
\r