HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/util/response.pyc
�
^�Rec@@sOddlmZddlmZddlmZd�Zd�Zd�Z	dS(	i(tabsolute_importi(thttp_client(tHeaderParsingErrorcC@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((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el9.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/util/response.pytis_fp_closeds


cC@s�t|tj�s0tdjt|����nt|dd�}t|dd�}d}|r�|j�s�|�}t|t	t
f�r�|}q�q�n|s�|r�td|d|��ndS(sP
    Asserts whether all headers have been successfully parsed.
    Extracts encountered errors from the result of parsing headers.

    Only works on Python 3.

    :param headers: Headers to verify.
    :type headers: `httplib.HTTPMessage`.

    :raises urllib3.exceptions.HeaderParsingError:
        If parsing errors are found.
    s"expected httplib.Message, got {0}.tdefectstget_payloadt
unparsed_dataN(t
isinstancethttplibtHTTPMessaget	TypeErrortformatttypetgetattrRtis_multiparttbyteststrR(theadersRRR
tpayload((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el9.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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 conn:
    :type conn: :class:`httplib.HTTPResponse`
    itHEAD(t_methodRtinttupper(tresponsetmethod((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el9.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/util/response.pytis_response_to_headJs		
N(
t
__future__Rtpackages.six.movesRRt
exceptionsRR
RR!(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el9.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/util/response.pyt<module>s
		$