https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /lib/python2.7/site-packages/urllib3/util/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python2.7/site-packages/urllib3/util/response.pyc
�
�J�bc@@seddlmZddlmZmZddlmZddlmZ	d�Z
d�Zd�Zd	S(
i(tabsolute_import(t!MultipartInvariantViolationDefecttStartBoundaryNotFoundDefecti(tHeaderParsingError(thttp_clientcC@svy|j�SWntk
r!nXy|jSWntk
r@nXy|jdkSWntk
renXtd��dS(st
    Checks whether a given file-like object is closed.

    :param obj:
        The file-like object to check.
    s)Unable to determine whether fp is closed.N(tisclosedtAttributeErrortclosedtfptNonet
ValueError(tobj((s8/tmp/pip-install-spIB81/urllib3/urllib3/util/response.pytis_fp_closed	s


cC@s�t|tj�s0tdjt|����nt|dd�}t|dd�}d}|r�|j�s�|�}t|t	t
f�r�|}q�q�n|r�g|D]!}t|ttf�s�|^q�}n|s�|r�t
d|d|��ndS(s>
    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.
    s"expected httplib.Message, got {0}.tdefectstget_payloadt
unparsed_dataN(t
isinstancethttplibtHTTPMessaget	TypeErrortformatttypetgetattrR	tis_multiparttbyteststrRRR(theadersR
RRtpayloadtdefect((s8/tmp/pip-install-spIB81/urllib3/urllib3/util/response.pytassert_header_parsing(s"	

!cC@s2|j}t|t�r"|dkS|j�dkS(s�
    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.
    itHEAD(t_methodRtinttupper(tresponsetmethod((s8/tmp/pip-install-spIB81/urllib3/urllib3/util/response.pytis_response_to_head^s
	
N(
t
__future__Rtemail.errorsRRt
exceptionsRtpackages.six.movesRRRRR$(((s8/tmp/pip-install-spIB81/urllib3/urllib3/util/response.pyt<module>s		6

https://t.me/AnonymousX5 - 2025