403Webshell
Server IP : 3.96.16.70  /  Your IP : 216.73.216.15
Web Server : Apache
System : Linux ip-172-31-26-103.ca-central-1.compute.internal 6.1.163-186.299.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Feb 24 16:35:42 UTC 2026 x86_64
User : ec2-user ( 1000)
PHP Version : 8.4.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python3.9/site-packages/urllib3/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.9/site-packages/urllib3/__pycache__/exceptions.cpython-39.pyc
a

�]_�@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�dCe�Z'GdDdE�dEe(e�Z)GdFdG�dGe�Z*GdHdI�dIe�Z+dJS)K�)�absolute_import�)�IncompleteReadc@seZdZdZdS)�	HTTPErrorz#Base exception used by this module.N��__name__�
__module__�__qualname__�__doc__�rr�6/usr/lib/python3.9/site-packages/urllib3/exceptions.pyrsrc@seZdZdZdS)�HTTPWarningz!Base warning used by this module.Nrrrrrr
sr
c@s eZdZdZdd�Zdd�ZdS)�	PoolErrorz/Base exception for errors caused within a pool.cCs||_t�|d||f�dS)Nz%s: %s)�poolr�__init__)�selfr�messagerrrrszPoolError.__init__cCs
|jdfS)N)NN��	__class__�rrrr�
__reduce__szPoolError.__reduce__N�rrr	r
rrrrrrrsrc@s eZdZdZdd�Zdd�ZdS)�RequestErrorz8Base exception for PoolErrors that have associated URLs.cCs||_t�|||�dS�N)�urlrr)rrrrrrrr szRequestError.__init__cCs|jd|jdffSr)rrrrrrr$szRequestError.__reduce__Nrrrrrrsrc@seZdZdZdS)�SSLErrorz9Raised when SSL certificate fails in an HTTPS connection.Nrrrrrr)srcs eZdZdZ�fdd�Z�ZS)�
ProxyErrorz,Raised when the connection to a proxy fails.cs$tt|�j||g|�R�||_dSr)�superrrZoriginal_error)rr�error�argsrrrr1szProxyError.__init__�rrr	r
r�
__classcell__rrrrr.src@seZdZdZdS)�DecodeErrorz;Raised when automatic decoding based on Content-Type fails.Nrrrrrr"6sr"c@seZdZdZdS)�
ProtocolErrorz>Raised when something unexpected happens mid-request/response.Nrrrrrr#;sr#c@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}t�||||�dS)Nz0Max retries exceeded with url: %s (Caused by %r))�reasonrr)rrrr%rrrrrQszMaxRetryError.__init__)N�rrr	r
rrrrrr$Gs	r$c@seZdZdZddd�ZdS)�HostChangedErrorz?Raised when an existing pool gets a request for a foreign host.�cCs"d|}t�||||�||_dS)Nz)Tried to open a foreign host with url: %s)rr�retries)rrrr)rrrrr\szHostChangedError.__init__N)r(r&rrrrr'Ysr'c@seZdZdZdS)�TimeoutStateErrorz3 Raised when passing an invalid state to a timeout Nrrrrrr*bsr*c@seZdZdZdS)�TimeoutErrorz� Raised when a socket timeout error occurs.

    Catching this error will catch both :exc:`ReadTimeoutErrors
    <ReadTimeoutError>` and :exc:`ConnectTimeoutErrors <ConnectTimeoutError>`.
    Nrrrrrr+hsr+c@seZdZdZdS)�ReadTimeoutErrorzFRaised when a socket timeout occurs while receiving data from a serverNrrrrrr,rsr,c@seZdZdZdS)�ConnectTimeoutErrorz@Raised when a socket timeout occurs while connecting to a serverNrrrrrr-ysr-c@seZdZdZdS)�NewConnectionErrorzHRaised when we fail to establish a new connection. Usually ECONNREFUSED.Nrrrrrr.~sr.c@seZdZdZdS)�EmptyPoolErrorzCRaised when a pool runs out of connections and no more are allowed.Nrrrrrr/�sr/c@seZdZdZdS)�ClosedPoolErrorzCRaised when a request enters a pool after the pool has been closed.Nrrrrrr0�sr0c@seZdZdZdS)�LocationValueErrorz<Raised when there is something wrong with a given URL input.Nrrrrrr1�sr1c@seZdZdZdd�ZdS)�LocationParseErrorz=Raised when get_host or similar fails to parse the URL input.cCsd|}t�||�||_dS)NzFailed to parse: %s)rr�location)rr3rrrrr�szLocationParseError.__init__Nr&rrrrr2�sr2c@seZdZdZdZdZdS)�
ResponseErrorzDUsed as a container for an error reason supplied in a MaxRetryError.ztoo many error responsesz&too many {status_code} error responsesN)rrr	r
Z
GENERIC_ERRORZSPECIFIC_ERRORrrrrr4�sr4c@seZdZdZdS)�SecurityWarningz0Warned when performing security reducing actionsNrrrrrr5�sr5c@seZdZdZdS)�SubjectAltNameWarningzBWarned when connecting to a host with a certificate missing a SAN.Nrrrrrr6�sr6c@seZdZdZdS)�InsecureRequestWarningz/Warned when making an unverified HTTPS request.Nrrrrrr7�sr7c@seZdZdZdS)�SystemTimeWarningz0Warned when system time is suspected to be wrongNrrrrrr8�sr8c@seZdZdZdS)�InsecurePlatformWarningzEWarned when certain SSL configuration is not available on a platform.Nrrrrrr9�sr9c@seZdZdZdS)�SNIMissingWarningz9Warned when making a HTTPS request without SNI available.Nrrrrrr:�sr:c@seZdZdZdS)�DependencyWarningzc
    Warned when an attempt is made to import a module with missing optional
    dependencies.
    Nrrrrrr;�sr;c@seZdZdZdS)� InvalidProxyConfigurationWarninga^
    Warned when using an HTTPS proxy and an HTTPS URL. Currently
    urllib3 doesn't support HTTPS proxies and the proxy will be
    contacted via HTTP instead. This warning can be fixed by
    changing your HTTPS proxy URL into an HTTP proxy URL.

    If you encounter this warning read this:
    https://github.com/urllib3/urllib3/issues/1850
    Nrrrrrr<�s
r<c@seZdZdZdS)�ResponseNotChunkedz;Response needs to be chunked in order to read it as chunks.Nrrrrrr=�sr=c@seZdZdZdS)�BodyNotHttplibCompatiblezz
    Body should be httplib.HTTPResponse like (have an fp attribute which
    returns raw chunks) for read_chunked().
    Nrrrrrr>�sr>cs(eZdZdZ�fdd�Zdd�Z�ZS)rz�
    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.
    cstt|��||�dSr)rrr)r�partial�expectedrrrr�szIncompleteRead.__init__cCsd|j|jfS)Nz/IncompleteRead(%i bytes read, %i more expected))r?r@rrrr�__repr__�s�zIncompleteRead.__repr__)rrr	r
rrAr!rrrrr�src@seZdZdZdS)�
InvalidHeaderz(The header provided was somehow invalid.NrrrrrrB�srBcs eZdZdZ�fdd�Z�ZS)�ProxySchemeUnknownz1ProxyManager does not support the supplied schemecsd|}tt|��|�dS)NzNot supported proxy scheme %s)rrCr)r�schemerrrrrszProxySchemeUnknown.__init__r rrrrrC�srCcs eZdZdZ�fdd�Z�ZS)�HeaderParsingErrorzNRaised by assert_header_parsing, but we convert it to a log.warning statement.cs$d|pd|f}tt|��|�dS)Nz%s, unparsed data: %rZUnknown)rrEr)rZdefectsZ
unparsed_datarrrrr	szHeaderParsingError.__init__r rrrrrEsrEc@seZdZdZdS)�UnrewindableBodyErrorz9urllib3 encountered an error when trying to rewind a bodyNrrrrrrFsrFN),Z
__future__rZpackages.six.moves.http_clientrZhttplib_IncompleteRead�	Exceptionr�Warningr
rrrrr"r#�ConnectionErrorr$r'r*r+r,r-r.r/r0�
ValueErrorr1r2r4r5r6r7r8r9r:r;r<r=r>rB�AssertionErrorrCrErFrrrr�<module>sJ	

			

Youez - 2016 - github.com/yon3zu
LinuXploit