Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
pip._vendor.urllib3.response Namespace Reference

Data Structures

class  BrotliDecoder
 
class  DeflateDecoder
 
class  GzipDecoder
 
class  GzipDecoderState
 
class  HTTPResponse
 
class  MultiDecoder
 

Functions

 _get_decoder (mode)
 

Variables

 brotli = None
 
 log = logging.getLogger(__name__)
 

Function Documentation

◆ _get_decoder()

_get_decoder (   mode)
protected

Definition at line 144 of file response.py.

144def _get_decoder(mode):
145 if "," in mode:
146 return MultiDecoder(mode)
147
148 if mode == "gzip":
149 return GzipDecoder()
150
151 if brotli is not None and mode == "br":
152 return BrotliDecoder()
153
154 return DeflateDecoder()
155
156

Referenced by HTTPResponse._init_decoder().

Here is the caller graph for this function:

Variable Documentation

◆ brotli

brotli = None

Definition at line 12 of file response.py.

◆ log

log = logging.getLogger(__name__)

Definition at line 32 of file response.py.