ó Eu\dc@@smddlmZddlmZdefd„ƒYZdefd„ƒYZdefd „ƒYZ d e fd „ƒYZ d efd „ƒYZ defd„ƒYZ defd„ƒYZ defd„ƒYZeZde fd„ƒYZde fd„ƒYZdefd„ƒYZdefd„ƒYZdee fd„ƒYZdefd„ƒYZd ee fd!„ƒYZd"e fd#„ƒYZd$e fd%„ƒYZd&eefd'„ƒYZd(efd)„ƒYZd*efd+„ƒYZd,efd-„ƒYZd.efd/„ƒYZd0efd1„ƒYZd2efd3„ƒYZ d4efd5„ƒYZ!d6efd7„ƒYZ"d8efd9„ƒYZ#d:efd;„ƒYZ$d<eefd=„ƒYZ%d>efd?„ƒYZ&d@eefdA„ƒYZdBeefdC„ƒYZ'dDefdE„ƒYZ(dFe)efdG„ƒYZ*dHefdI„ƒYZ+dJefdK„ƒYZ,dLefdM„ƒYZ-dNS(Oi(tabsolute_importi(tIncompleteReadt HTTPErrorcB@seZdZRS(s#Base exception used by this module.(t__name__t __module__t__doc__(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyRst HTTPWarningcB@seZdZRS(s!Base warning used by this module.(RRR(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyRst PoolErrorcB@s eZdZd„Zd„ZRS(s/Base exception for errors caused within a pool.cC@s'||_tj|d||fƒdS(Ns%s: %s(tpoolRt__init__(tselfRtmessage((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR s cC@s |jdfS(N(NN(t __class__tNone(R ((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyt __reduce__s(RRRR R(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyRs t RequestErrorcB@s eZdZd„Zd„ZRS(s8Base exception for PoolErrors that have associated URLs.cC@s ||_tj|||ƒdS(N(turlRR (R RRR ((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR #s cC@s|jd|jdffS(N(R R R(R ((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR's(RRRR R(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR s tSSLErrorcB@seZdZRS(s9Raised when SSL certificate fails in an HTTPS connection.(RRR(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR,st ProxyErrorcB@seZdZd„ZRS(s,Raised when the connection to a proxy fails.cG@s)tt|ƒj|||Œ||_dS(N(tsuperRR toriginal_error(R R terrortargs((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR 5s(RRRR (((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR2st DecodeErrorcB@seZdZRS(s;Raised when automatic decoding based on Content-Type fails.(RRR(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR:st ProtocolErrorcB@seZdZRS(s>Raised when something unexpected happens mid-request/response.(RRR(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR@st MaxRetryErrorcB@seZdZdd„ZRS(s 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 cC@s3||_d||f}tj||||ƒdS(Ns0Max retries exceeded with url: %s (Caused by %r)(treasonRR (R RRRR ((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR Ws N(RRRR R (((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyRMstHostChangedErrorcB@seZdZdd„ZRS(s?Raised when an existing pool gets a request for a foreign host.icC@s-d|}tj||||ƒ||_dS(Ns)Tried to open a foreign host with url: %s(RR tretries(R RRRR ((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR bs (RRRR (((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR_stTimeoutStateErrorcB@seZdZRS(s1Raised when passing an invalid state to a timeout(RRR(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyRhst TimeoutErrorcB@seZdZRS(sæRaised when a socket timeout error occurs. Catching this error will catch both :exc:`ReadTimeoutErrors ` and :exc:`ConnectTimeoutErrors `. (RRR(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyRnstReadTimeoutErrorcB@seZdZRS(sFRaised when a socket timeout occurs while receiving data from a server(RRR(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyRxstConnectTimeoutErrorcB@seZdZRS(s@Raised when a socket timeout occurs while connecting to a server(RRR(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR €stNewConnectionErrorcB@seZdZRS(sHRaised when we fail to establish a new connection. Usually ECONNREFUSED.(RRR(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR!†stEmptyPoolErrorcB@seZdZRS(sCRaised when a pool runs out of connections and no more are allowed.(RRR(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR"ŒstClosedPoolErrorcB@seZdZRS(sCRaised when a request enters a pool after the pool has been closed.(RRR(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR#’stLocationValueErrorcB@seZdZRS(s<Raised when there is something wrong with a given URL input.(RRR(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR$˜stLocationParseErrorcB@seZdZd„ZRS(s=Raised when get_host or similar fails to parse the URL input.cC@s'd|}tj||ƒ||_dS(NsFailed to parse: %s(RR tlocation(R R&R ((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR ”s (RRRR (((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR%žstURLSchemeUnknowncB@seZdZd„ZRS(s2Raised when a URL input has an unsupported scheme.cC@s-d|}tt|ƒj|ƒ||_dS(NsNot supported URL scheme %s(RR'R tscheme(R R(R ((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR «s (RRRR (((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR'Øst ResponseErrorcB@seZdZdZdZRS(sDUsed as a container for an error reason supplied in a MaxRetryError.stoo many error responsess&too many {status_code} error responses(RRRt GENERIC_ERRORtSPECIFIC_ERROR(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR)²stSecurityWarningcB@seZdZRS(s0Warned when performing security reducing actions(RRR(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR,¹stSubjectAltNameWarningcB@seZdZRS(sBWarned when connecting to a host with a certificate missing a SAN.(RRR(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR-æstInsecureRequestWarningcB@seZdZRS(s/Warned when making an unverified HTTPS request.(RRR(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR.ÅstSystemTimeWarningcB@seZdZRS(s0Warned when system time is suspected to be wrong(RRR(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR/ĖstInsecurePlatformWarningcB@seZdZRS(sIWarned when certain TLS/SSL configuration is not available on a platform.(RRR(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR0ŃstSNIMissingWarningcB@seZdZRS(s9Warned when making a HTTPS request without SNI available.(RRR(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR1×stDependencyWarningcB@seZdZRS(sc Warned when an attempt is made to import a module with missing optional dependencies. (RRR(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR2ŻstResponseNotChunkedcB@seZdZRS(s;Response needs to be chunked in order to read it as chunks.(RRR(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR3ęstBodyNotHttplibCompatiblecB@seZdZRS(s‡ Body should be :class:`http.client.HTTPResponse` like (have an fp attribute which returns raw chunks) for read_chunked(). (RRR(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR4ģsRcB@s eZdZd„Zd„ZRS(sĪ Response length doesn't match expected Content-Length Subclass of :class:`http.client.IncompleteRead` to allow int value for ``partial`` to avoid creating large objects on streamed reads. cC@stt|ƒj||ƒdS(N(RRR (R tpartialtexpected((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR żscC@sd|j|jfS(Ns/IncompleteRead(%i bytes read, %i more expected)(R5R6(R ((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyt__repr__s(RRRR R7(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyRõs tInvalidChunkLengthcB@s eZdZd„Zd„ZRS(s+Invalid chunk length in a chunked response.cC@s8tt|ƒj|jƒ|jƒ||_||_dS(N(RR8R ttelltlength_remainingtresponsetlength(R R;R<((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR s cC@sd|j|jfS(Ns0InvalidChunkLength(got length %r, %i bytes read)(R<R5(R ((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR7s(RRRR R7(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR8s t InvalidHeadercB@seZdZRS(s(The header provided was somehow invalid.(RRR(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR=stProxySchemeUnknowncB@seZdZd„ZRS(s1ProxyManager does not support the supplied schemecC@sN|dkrd}n|dkr*d}n d|}tt|ƒj|ƒdS(Nt localhosts>Proxy URL had no scheme, should start with http:// or https://sCProxy URL had unsupported scheme %s, should use http:// or https://(R RR>R (R R(R ((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR #s    (RRRR (((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR>stProxySchemeUnsupportedcB@seZdZRS(s=Fetching HTTPS resources through HTTPS proxies is unsupported(RRR(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR@2stHeaderParsingErrorcB@seZdZd„ZRS(sNRaised by assert_header_parsing, but we convert it to a log.warning statement.cC@s0d|p d|f}tt|ƒj|ƒdS(Ns%s, unparsed data: %rtUnknown(RRAR (R tdefectst unparsed_dataR ((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyR ;s(RRRR (((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyRA8stUnrewindableBodyErrorcB@seZdZRS(s9urllib3 encountered an error when trying to rewind a body(RRR(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pyRE@sN(.t __future__Rtpackages.six.moves.http_clientRthttplib_IncompleteReadt ExceptionRtWarningRRRRRRRtConnectionErrorRRRRRR R!R"R#t ValueErrorR$R%R'R)R,R-R.R/R0R1R2R3R4R8R=tAssertionErrorR>R@RARE(((sk/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/exceptions.pytsN