CasperSecurity

Current Path : /lib/python3/dist-packages/requests/__pycache__/
Upload File :
Current File : //lib/python3/dist-packages/requests/__pycache__/exceptions.cpython-310.pyc

o

Ba�_Y�@s�dZddlmZGdd�de�ZGdd�de�ZGdd�de�ZGd	d
�d
e�ZGdd�de�ZGd
d�de�Z	Gdd�dee	�Z
Gdd�de	�ZGdd�de�ZGdd�de�Z
Gdd�dee�ZGdd�dee�ZGdd�dee�ZGdd�dee�ZGdd �d e�ZGd!d"�d"e�ZGd#d$�d$ee�ZGd%d&�d&ee�ZGd'd(�d(e�ZGd)d*�d*e�ZGd+d,�d,e�ZGd-d.�d.ee�ZGd/d0�d0e�Zd1S)2z`
requests.exceptions
~~~~~~~~~~~~~~~~~~~

This module contains the set of Requests' exceptions.
�)�	HTTPErrorcs eZdZdZ�fdd�Z�ZS)�RequestExceptionzTThere was an ambiguous exception that occurred while handling your
    request.
    cs\|�dd�}||_|�dd�|_|dur!|js!t|d�r!|jj|_tt|�j|i|��dS)zBInitialize RequestException with `request` and `response` objects.�responseN�request)�poprr�hasattr�superr�__init__)�self�args�kwargsr��	__class__��5/usr/lib/python3/dist-packages/requests/exceptions.pyr	s�
zRequestException.__init__)�__name__�
__module__�__qualname__�__doc__r	�
__classcell__rrr
rrsrc@�eZdZdZdS)rzAn HTTP error occurred.N�rrrrrrrrr�rc@r)�ConnectionErrorzA Connection error occurred.Nrrrrrr rrc@r)�
ProxyErrorzA proxy error occurred.Nrrrrrr$rrc@r)�SSLErrorzAn SSL error occurred.Nrrrrrr(rrc@r)�Timeoutz�The request timed out.

    Catching this error will catch both
    :exc:`~requests.exceptions.ConnectTimeout` and
    :exc:`~requests.exceptions.ReadTimeout` errors.
    Nrrrrrr,rrc@r)�ConnectTimeoutz�The request timed out while trying to connect to the remote server.

    Requests that produced this error are safe to retry.
    Nrrrrrr5rrc@r)�ReadTimeoutz@The server did not send any data in the allotted amount of time.Nrrrrrr<rrc@r)�URLRequiredz*A valid URL is required to make a request.Nrrrrrr@rrc@r)�TooManyRedirectszToo many redirects.Nrrrrrr Drr c@r)�
MissingSchemaz/The URL schema (e.g. http or https) is missing.Nrrrrrr!Hrr!c@r)�
InvalidSchemaz"See defaults.py for valid schemas.Nrrrrrr"Lrr"c@r)�
InvalidURLz%The URL provided was somehow invalid.Nrrrrrr#Prr#c@r)�
InvalidHeaderz.The header value provided was somehow invalid.Nrrrrrr$Trr$c@r)�InvalidProxyURLz"The proxy URL provided is invalid.Nrrrrrr%Xrr%c@r)�ChunkedEncodingErrorz?The server declared chunked encoding but sent an invalid chunk.Nrrrrrr&\rr&c@r)�ContentDecodingErrorz"Failed to decode response content.Nrrrrrr'`rr'c@r)�StreamConsumedErrorz3The content for this response was already consumed.Nrrrrrr(drr(c@r)�
RetryErrorzCustom retries logic failedNrrrrrr)hrr)c@r)�UnrewindableBodyErrorz;Requests encountered an error when trying to rewind a body.Nrrrrrr*lrr*c@r)�RequestsWarningzBase warning for Requests.Nrrrrrr+rrr+c@r)�FileModeWarningzJA file was opened in text mode, but Requests determined its binary length.Nrrrrrr,vrr,c@r)�RequestsDependencyWarningz@An imported dependency doesn't match the expected version range.Nrrrrrr-zrr-N)r�urllib3.exceptionsr�
BaseHTTPError�IOErrorrrrrrrrrr �
ValueErrorr!r"r#r$r%r&r'�	TypeErrorr(r)r*�Warningr+�DeprecationWarningr,r-rrrr�<module>s2	
Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY