mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
requests: annotate utils.get_encoding_from_headers() (#10901)
This commit is contained in:
committed by
GitHub
parent
41ac46ce21
commit
dc3cc9578b
@@ -34,7 +34,7 @@ def unquote_header_value(value, is_filename: bool = False): ...
|
||||
def dict_from_cookiejar(cj): ...
|
||||
def add_dict_to_cookiejar(cj, cookie_dict): ...
|
||||
def get_encodings_from_content(content): ...
|
||||
def get_encoding_from_headers(headers): ...
|
||||
def get_encoding_from_headers(headers: Mapping[str, str]) -> str | None: ...
|
||||
def stream_decode_response_unicode(iterator, r): ...
|
||||
def iter_slices(string: str, slice_length: int | None) -> Generator[str, None, None]: ...
|
||||
def get_unicode_from_response(r): ...
|
||||
|
||||
Reference in New Issue
Block a user