1 from typing import IO, Any, Callable
3 from .types import WSGIEnvironment
8 close: Callable[[], None] # only exists if filelike.close exists
9 def __init__(self, filelike: IO[bytes], blksize: int = ...) -> None: ...
10 def __getitem__(self, key: Any) -> bytes: ...
11 def __iter__(self) -> FileWrapper: ...
12 def __next__(self) -> bytes: ...
14 def guess_scheme(environ: WSGIEnvironment) -> str: ...
15 def application_uri(environ: WSGIEnvironment) -> str: ...
16 def request_uri(environ: WSGIEnvironment, include_query: bool = ...) -> str: ...
17 def shift_path_info(environ: WSGIEnvironment) -> str | None: ...
18 def setup_testing_defaults(environ: WSGIEnvironment) -> None: ...
19 def is_hop_by_hop(header_name: str) -> bool: ...