$69 GRAYBYTE WORDPRESS FILE MANAGER $85

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python37/lib/python3.7/site-packages/urllib3/util/__pycache__/

HOME
Current File : /opt/alt/python37/lib/python3.7/site-packages/urllib3/util/__pycache__//response.cpython-37.pyc
B

��`�
�@sPddlmZddlmZmZddlmZddlmZ	dd�Z
dd	�Zd
d�ZdS)
�)�absolute_import)�!MultipartInvariantViolationDefect�StartBoundaryNotFoundDefect�)�HeaderParsingError)�http_clientcCsfy|��Stk
rYnXy|jStk
r8YnXy
|jdkStk
rXYnXtd��dS)zt
    Checks whether a given file-like object is closed.

    :param obj:
        The file-like object to check.
    Nz)Unable to determine whether fp is closed.)Zisclosed�AttributeError�closed�fp�
ValueError)�obj�r
�F/opt/alt/python37/lib/python3.7/site-packages/urllib3/util/response.py�is_fp_closed	s
rcCs�t|tj�std�t|����t|dd�}t|dd�}d}|r^|��s^|�}t|tt	f�r^|}|rpdd�|D�}|sx|r�t
||d��dS)a>
    Asserts whether all headers have been successfully parsed.
    Extracts encountered errors from the result of parsing headers.

    Only works on Python 3.

    :param http.client.HTTPMessage headers: Headers to verify.

    :raises urllib3.exceptions.HeaderParsingError:
        If parsing errors are found.
    z"expected httplib.Message, got {0}.�defectsN�get_payloadcSsg|]}t|ttf�s|�qSr
)�
isinstancerr)�.0�defectr
r
r�
<listcomp>Ssz)assert_header_parsing.<locals>.<listcomp>)r�
unparsed_data)r�httplibZHTTPMessage�	TypeError�format�type�getattr�is_multipart�bytes�strr)�headersrrr�payloadr
r
r�assert_header_parsing(s
r!cCs$|j}t|t�r|dkS|��dkS)z�
    Checks whether the request of a response has been a HEAD-request.
    Handles the quirks of AppEngine.

    :param http.client.HTTPResponse response:
        Response to check if the originating request
        used 'HEAD' as a method.
    �ZHEAD)�_methodr�int�upper)�response�methodr
r
r�is_response_to_head^s

r(N)
�
__future__rZemail.errorsrr�
exceptionsrZpackages.six.movesrrrr!r(r
r
r
r�<module>s6


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 11.11 PM
root / linksafe
0755
__init__.cpython-37.pyc
1.045 KB
14 Nov 2023 2.43 PM
root / linksafe
0644
connection.cpython-37.pyc
3.305 KB
14 Nov 2023 2.43 PM
root / linksafe
0644
proxy.cpython-37.pyc
1.248 KB
14 Nov 2023 2.43 PM
root / linksafe
0644
queue.cpython-37.pyc
0.978 KB
14 Nov 2023 2.43 PM
root / linksafe
0644
request.cpython-37.pyc
3.334 KB
14 Nov 2023 2.43 PM
root / linksafe
0644
response.cpython-37.pyc
2.234 KB
14 Nov 2023 2.43 PM
root / linksafe
0644
retry.cpython-37.pyc
15.911 KB
14 Nov 2023 2.43 PM
root / linksafe
0644
ssl_.cpython-37.pyc
10.978 KB
14 Nov 2023 2.43 PM
root / linksafe
0644
ssltransport.cpython-37.pyc
7.106 KB
14 Nov 2023 2.43 PM
root / linksafe
0644
timeout.cpython-37.pyc
8.652 KB
14 Nov 2023 2.43 PM
root / linksafe
0644
url.cpython-37.pyc
10.348 KB
14 Nov 2023 2.43 PM
root / linksafe
0644
wait.cpython-37.pyc
3.019 KB
14 Nov 2023 2.43 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF