mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
27 lines
735 B
Python
27 lines
735 B
Python
__all__ = [
|
|
"body_decode",
|
|
"body_encode",
|
|
"body_length",
|
|
"decode",
|
|
"decodestring",
|
|
"header_decode",
|
|
"header_encode",
|
|
"header_length",
|
|
"quote",
|
|
"unquote",
|
|
]
|
|
|
|
def header_check(octet: int) -> bool: ...
|
|
def body_check(octet: int) -> bool: ...
|
|
def header_length(bytearray: bytes) -> int: ...
|
|
def body_length(bytearray: bytes) -> int: ...
|
|
def unquote(s: str | bytes) -> str: ...
|
|
def quote(c: str | bytes) -> str: ...
|
|
def header_encode(header_bytes: bytes, charset: str = ...) -> str: ...
|
|
def body_encode(body: str, maxlinelen: int = ..., eol: str = ...) -> str: ...
|
|
def decode(encoded: str, eol: str = ...) -> str: ...
|
|
def header_decode(s: str) -> str: ...
|
|
|
|
body_decode = decode
|
|
decodestring = decode
|