$75 GRAYBYTE WORDPRESS FILE MANAGER $64

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

/opt/hc_python/lib/python3.12/site-packages/urllib3/util/__pycache__/

HOME
Current File : /opt/hc_python/lib/python3.12/site-packages/urllib3/util/__pycache__//response.cpython-312.pyc
�

I��g.
��P�ddlmZddlmZddlmZmZddlm	Z	d	d�Z
d
d�Zdd�Zy)�)�annotationsN)�!MultipartInvariantViolationDefect�StartBoundaryNotFoundDefect�)�HeaderParsingErrorc���	|j�S#t$rYnwxYw	|jS#t$rYnwxYw	|jduS#t$r
Yt	d��wxYw)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.)�isclosed�AttributeError�closed�fp�
ValueError)�objs �D/opt/hc_python/lib/python3.12/site-packages/urllib3/util/response.py�is_fp_closedr	s{��
��|�|�~����
��
��
��z�z����
��
��
��v�v��~����
��
�@�
A�A�
�s)��	��.�	:�:�
A�	A"�!A"c�f�t|tj�stdt	|��d���d}|j�s(|j
�}t|ttf�r|}|jD�cgc]}t|ttf�s|��}}|s|r
t||���ycc}w)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.
    zexpected httplib.Message, got �.N)�defects�
unparsed_data)
�
isinstance�httplib�HTTPMessage�	TypeError�type�is_multipart�get_payload�bytes�strrrrr)�headersr�payload�defectrs     r�assert_header_parsingr!(s����g�w�2�2�3��8��g���q�I�J�J��M����!��%�%�'���g��s�|�,�#�M��o�o��%�F���0�2S�T�
�	�%����-� ��
�N�N� ��s�;B.c�@�|j}|j�dk(S)z�
    Checks whether the request of a response has been a HEAD-request.

    :param http.client.HTTPResponse response:
        Response to check if the originating request
        used 'HEAD' as a method.
    �HEAD)�_method�upper)�response�
method_strs  r�is_response_to_headr([s#���!�!�J������'�'�)r�object�return�bool)rzhttplib.HTTPMessager+�None)r&zhttplib.HTTPResponser+r,)
�
__future__r�http.client�clientr�email.errorsrr�
exceptionsrrr!r(�r)r�<module>r4s#��"��W�+�B�>0O�f
(r)


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
4 Apr 2025 8.03 AM
root / root
0755
__init__.cpython-312.pyc
0.958 KB
4 Apr 2025 8.03 AM
root / root
0644
connection.cpython-312.pyc
4.553 KB
4 Apr 2025 8.03 AM
root / root
0644
proxy.cpython-312.pyc
1.165 KB
4 Apr 2025 8.03 AM
root / root
0644
request.cpython-312.pyc
7.957 KB
4 Apr 2025 8.03 AM
root / root
0644
response.cpython-312.pyc
2.785 KB
4 Apr 2025 8.03 AM
root / root
0644
retry.cpython-312.pyc
19.792 KB
4 Apr 2025 8.03 AM
root / root
0644
ssl_.cpython-312.pyc
16.149 KB
4 Apr 2025 8.03 AM
root / root
0644
ssl_match_hostname.cpython-312.pyc
5.384 KB
4 Apr 2025 8.03 AM
root / root
0644
ssltransport.cpython-312.pyc
12.97 KB
4 Apr 2025 8.03 AM
root / root
0644
timeout.cpython-312.pyc
11.392 KB
4 Apr 2025 8.03 AM
root / root
0644
url.cpython-312.pyc
15.816 KB
4 Apr 2025 8.03 AM
root / root
0644
util.cpython-312.pyc
1.924 KB
4 Apr 2025 8.03 AM
root / root
0644
wait.cpython-312.pyc
3.336 KB
4 Apr 2025 8.03 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF