class BrotliDecoder(ContentDecoder):
Handle 'brotli' decoding.
pip install brotlipy
. See: https://brotlipy.readthedocs.io/pip install brotli
. See https://github.com/google/brotliSupports both 'brotlipy' and 'Brotli' packages since they share an import name. The top branches are for 'brotlipy' and bottom branches for 'Brotli'
Method | __init__ |
Undocumented |
Method | decode |
Undocumented |
Method | flush |
Undocumented |
Instance Variable | decompressor |
Undocumented |
Instance Variable | seen_data |
Undocumented |
Instance Variable | _decompress |
Undocumented |
httpx._decoders.ContentDecoder.decode
Undocumented
Parameters | |
data:bytes | Undocumented |
Returns | |
bytes | Undocumented |
httpx._decoders.ContentDecoder.flush
Undocumented
Returns | |
bytes | Undocumented |