\h \ddlmZddlmZGddeZGddeZGdd eZ Gd d e Z Gd d eZ GddeZ GddeZ GddeZeZGdde ZGdde ZGddeZGddeZGddee ZGddeZGd d!ee ZGd"d#e ZGd$d%e ZGd&d'eeZGd(d)eZGd*d+eZGd,d-eZGd.d/eZGd0d1eZGd2d3eZ Gd4d5eZ!Gd6d7eZ"Gd8d9eZ#Gd:d;eZ$Gd<d=eeZ%Gd>d?eZ&Gd@dAeeZGdBdCeeZ'GdDdEeZ(GdFdGe)eZ*GdHdIeZ+GdJdKeZ,GdLdMeZ-yN)O)absolute_import)IncompleteReadceZdZdZy) HTTPErrorz#Base exception used by this module.N__name__ __module__ __qualname____doc__a/root/niggaflix-v3/playground/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/exceptions.pyrrs-rrceZdZdZy) HTTPWarningz!Base warning used by this module.Nrr rrrrs+rrceZdZdZdZdZy) PoolErrorz/Base exception for errors caused within a pool.cH||_tj||d|y)Nz: )poolr__init__)selfrmessages rrzPoolError.__init__s 4T7!;tt| ||g|||_yr")superr)roriginal_error)rrerrorargsrs rrzProxyError.__init__5s! j$(%?$?#rr r r r r __classcell__rs@rr)r)2s6$$rr)ceZdZdZy) DecodeErrorz;Raised when automatic decoding based on Content-Type fails.Nrr rrr2r2:Err2ceZdZdZy) ProtocolErrorz>Raised when something unexpected happens mid-request/response.Nrr rrr5r5@sHrr5ceZdZdZddZy) MaxRetryErrora Raised when the maximum number of retries is exceeded. :param pool: The connection pool :type pool: :class:`~urllib3.connectionpool.HTTPConnectionPool` :param string url: The requested Url :param exceptions.Exception reason: The underlying error NcT||_d|d|d}tj||||y)NzMax retries exceeded with url: z (Caused by ))reasonr r)rrr#r:rs rrzMaxRetryError.__init__Ws' HKVTdD#w7rr"r r r r rr rrr7r7Ms 8rr7ceZdZdZddZy)HostChangedErrorz?Raised when an existing pool gets a request for a foreign host.cLd|z}tj||||||_y)Nz)Tried to open a foreign host with url: %s)r rretries)rrr#r?rs rrzHostChangedError.__init__bs'=CdD#w7 rN)r;r rrr=r=_s Irr=ceZdZdZy)TimeoutStateErrorz1Raised when passing an invalid state to a timeoutNrr rrrBrBhs;rrBceZdZdZy) TimeoutErrorzRaised when a socket timeout error occurs. Catching this error will catch both :exc:`ReadTimeoutErrors ` and :exc:`ConnectTimeoutErrors `. Nrr rrrDrDns   rrDceZdZdZy)ReadTimeoutErrorzFRaised when a socket timeout occurs while receiving data from a serverNrr rrrFrFxsPrrFceZdZdZy)ConnectTimeoutErrorz@Raised when a socket timeout occurs while connecting to a serverNrr rrrHrHsJrrHceZdZdZy)NewConnectionErrorzHRaised when we fail to establish a new connection. Usually ECONNREFUSED.Nrr rrrJrJsRrrJceZdZdZy)EmptyPoolErrorzCRaised when a pool runs out of connections and no more are allowed.Nrr rrrLrLMrrLceZdZdZy)ClosedPoolErrorzCRaised when a request enters a pool after the pool has been closed.Nrr rrrOrOrMrrOceZdZdZy)LocationValueErrorzProxy URL had no scheme, should start with http:// or https://zCProxy URL had unsupported scheme %s, should use http:// or https://)r+rrrZs rrzProxySchemeUnknown.__init__#sA [ F >VGV   $09rr/rs@rrrs; : :rrceZdZdZy)ProxySchemeUnsupportedz=Fetching HTTPS resources through HTTPS proxies is unsupportedNrr rrrr2sGrrc"eZdZdZfdZxZS)HeaderParsingErrorzNRaised by assert_header_parsing, but we convert it to a log.warning statement.cB|xsdd|}tt| |y)NUnknownz, unparsed data: )r+rr)rdefects unparsed_datarrs rrzHeaderParsingError.__init__;s%-4-A -A=Q  $09rr/rs@rrr8sX::rrceZdZdZy)UnrewindableBodyErrorz9urllib3 encountered an error when trying to rewind a bodyNrr rrrr@r'rrN). __future__rpackages.six.moves.http_clientrhttplib_IncompleteRead ExceptionrWarningrrr r&r)r2r5ConnectionErrorr7r=rBrDrFrHrJrLrO ValueErrorrQrSrWr\r`rcrergrirkrmrprrr{rAssertionErrorrrrrr rrrs&T    ' , , 69 6 y $$ )  I   8L8$|   9  |\  ,  ,i  Y  i  Y !+!)>I> k  O  _    o         y  Y 6 $ $: " I :)9:( Z :: I r