Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
contego / home / tvault / .virtenv / lib / python2.7 / site-packages / urllib3 / exceptions.pyc
Size: Mime:
ó
èEYc@@s(ddlmZddlmZdefd„ƒYZdefd„ƒYZdefd	„ƒYZ	d
e	fd„ƒYZ
defd
„ƒYZdefd„ƒ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:eefd;„ƒYZ$d<efd=„ƒYZ%d>eefd?„ƒYZd@efdA„ƒYZ&dBe'efdC„ƒYZ(dDefdE„ƒYZ)dFefdG„ƒYZ*dHS(Ii(tabsolute_importi(tIncompleteReadt	HTTPErrorcB@seZdZRS(s#Base exception used by this module.(t__name__t
__module__t__doc__(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyRstHTTPWarningcB@seZdZRS(s!Base warning used by this module.(RRR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR
st	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((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR	s	cC@s
|jdfS(N(NN(t	__class__tNone(R
((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyt
__reduce__s(RRRR	R(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/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((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR	s	cC@s|jd|jdffS(N(RR
R(R
((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR#s(RRRR	R(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyRs	tSSLErrorcB@seZdZRS(s9Raised when SSL certificate fails in an HTTPS connection.(RRR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR(st
ProxyErrorcB@seZdZRS(s,Raised when the connection to a proxy fails.(RRR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR-stDecodeErrorcB@seZdZRS(s;Raised when automatic decoding based on Content-Type fails.(RRR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR2st
ProtocolErrorcB@seZdZRS(s>Raised when something unexpected happens mid-request/response.(RRR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR7st
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((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR	Ls	
N(RRRR
R	(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyRBstHostChangedErrorcB@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((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR	Xs
(RRRR	(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyRUstTimeoutStateErrorcB@seZdZRS(s3 Raised when passing an invalid state to a timeout (RRR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR^stTimeoutErrorcB@seZdZRS(sÀ Raised when a socket timeout error occurs.

    Catching this error will catch both :exc:`ReadTimeoutErrors
    <ReadTimeoutError>` and :exc:`ConnectTimeoutErrors <ConnectTimeoutError>`.
    (RRR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyRcstReadTimeoutErrorcB@seZdZRS(sFRaised when a socket timeout occurs while receiving data from a server(RRR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyRlstConnectTimeoutErrorcB@seZdZRS(s@Raised when a socket timeout occurs while connecting to a server(RRR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyRsstNewConnectionErrorcB@seZdZRS(sHRaised when we fail to establish a new connection. Usually ECONNREFUSED.(RRR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyRxstEmptyPoolErrorcB@seZdZRS(sCRaised when a pool runs out of connections and no more are allowed.(RRR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR}stClosedPoolErrorcB@seZdZRS(sCRaised when a request enters a pool after the pool has been closed.(RRR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR‚stLocationValueErrorcB@seZdZRS(s<Raised when there is something wrong with a given URL input.(RRR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/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((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR	s
(RRRR	(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/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(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR#–stSecurityWarningcB@seZdZRS(s/Warned when perfoming security reducing actions(RRR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR&œstSubjectAltNameWarningcB@seZdZRS(sBWarned when connecting to a host with a certificate missing a SAN.(RRR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR'¡stInsecureRequestWarningcB@seZdZRS(s/Warned when making an unverified HTTPS request.(RRR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR(¦stSystemTimeWarningcB@seZdZRS(s0Warned when system time is suspected to be wrong(RRR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR)«stInsecurePlatformWarningcB@seZdZRS(sEWarned when certain SSL configuration is not available on a platform.(RRR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR*°stSNIMissingWarningcB@seZdZRS(s9Warned when making a HTTPS request without SNI available.(RRR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR+µstDependencyWarningcB@seZdZRS(sc
    Warned when an attempt is made to import a module with missing optional
    dependencies.
    (RRR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR,ºstResponseNotChunkedcB@seZdZRS(s;Response needs to be chunked in order to read it as chunks.(RRR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR-ÂstBodyNotHttplibCompatiblecB@seZdZRS(sz
    Body should be httplib.HTTPResponse like (have an fp attribute which
    returns raw chunks) for read_chunked().
    (RRR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR.ÇsRcB@s eZdZd„Zd„ZRS(sÇ
    Response length doesn't match expected Content-Length

    Subclass of http_client.IncompleteRead to allow int value
    for `partial` to avoid creating large objects on streamed
    reads.
    cC@stt|ƒj||ƒdS(N(tsuperRR	(R
tpartialtexpected((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR	×scC@sd|j|jfS(Ns/IncompleteRead(%i bytes read, %i more expected)(R0R1(R
((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyt__repr__Ús(RRRR	R2(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyRÏs	t
InvalidHeadercB@seZdZRS(s(The header provided was somehow invalid.(RRR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR3ßstProxySchemeUnknowncB@seZdZd„ZRS(s1ProxyManager does not support the supplied schemecC@s$d|}tt|ƒj|ƒdS(NsNot supported proxy scheme %s(R/R4R	(R
tschemeR((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR	ès
(RRRR	(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR4ästHeaderParsingErrorcB@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(R/R6R	(R
tdefectst
unparsed_dataR((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR	ïs(RRRR	(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR6ístUnrewindableBodyErrorcB@seZdZRS(s9urllib3 encountered an error when trying to rewind a body(RRR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyR:ôsN(+t
__future__Rtpackages.six.moves.http_clientRthttplib_IncompleteReadt	ExceptionRtWarningRRRRRRRtConnectionErrorRRRRRRRRRt
ValueErrorR R!R#R&R'R(R)R*R+R,R-R.R3tAssertionErrorR4R6R:(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/urllib3/exceptions.pyt<module>sH