SILENT KILLERPanel

Current Path: > > opt > alt > python27 > lib > > python2.7 > site-packages > pip > _vendor > urllib3 > > util


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/alt/python27/lib//python2.7/site-packages/pip/_vendor/urllib3//util

NameTypeSizeLast ModifiedActions
__init__.py File 1038 bytes November 13 2023 21:11:11.
__init__.pyc File 1392 bytes November 13 2023 21:11:11.
connection.py File 4637 bytes November 13 2023 21:11:11.
connection.pyc File 4362 bytes November 13 2023 21:11:11.
queue.py File 497 bytes November 13 2023 21:11:11.
queue.pyc File 1833 bytes November 13 2023 21:11:11.
request.py File 3815 bytes November 13 2023 21:11:11.
request.pyc File 4186 bytes November 13 2023 21:11:11.
response.py File 2573 bytes November 13 2023 21:11:11.
response.pyc File 2693 bytes November 13 2023 21:11:11.
retry.py File 15543 bytes November 13 2023 21:11:11.
retry.pyc File 16366 bytes November 13 2023 21:11:11.
ssl_.py File 14523 bytes November 13 2023 21:11:11.
ssl_.pyc File 13131 bytes November 13 2023 21:11:11.
timeout.py File 9947 bytes November 13 2023 21:11:11.
timeout.pyc File 10619 bytes November 13 2023 21:11:11.
url.py File 13981 bytes November 13 2023 21:11:11.
url.pyc File 14176 bytes November 13 2023 21:11:11.
wait.py File 5406 bytes November 13 2023 21:11:11.
wait.pyc File 5178 bytes November 13 2023 21:11:11.

Reading File: //opt/alt/python27/lib//python2.7/site-packages/pip/_vendor/urllib3//util/request.pyc

�
�Rec@@s�ddlmZddlmZddlmZmZddlmZdZ	yddl
ZWnek
ronXe	d7Z	e
�Zddddddd	�Zd
�Zd�ZdS(i(tabsolute_import(t	b64encodei(tbt
integer_types(tUnrewindableBodyErrorsgzip,deflateNs,brcC@s�i}|rRt|t�rn't|t�r?dj|�}nt}||d<n|re||d<n|rxd|d<n|r�dtt|��jd�|d<n|r�dtt|��jd�|d	<n|r�d
|d<n|S(s
    Shortcuts for generating request headers.

    :param keep_alive:
        If ``True``, adds 'connection: keep-alive' header.

    :param accept_encoding:
        Can be a boolean, list, or string.
        ``True`` translates to 'gzip,deflate'.
        List will get joined by comma.
        String will be used as provided.

    :param user_agent:
        String representing the user-agent you want, such as
        "python-urllib3/0.6"

    :param basic_auth:
        Colon-separated username:password string for 'authorization: basic ...'
        auth header.

    :param proxy_basic_auth:
        Colon-separated username:password string for 'proxy-authorization: basic ...'
        auth header.

    :param disable_cache:
        If ``True``, adds 'cache-control: no-cache' header.

    Example::

        >>> make_headers(keep_alive=True, user_agent="Batman/1.0")
        {'connection': 'keep-alive', 'user-agent': 'Batman/1.0'}
        >>> make_headers(accept_encoding=True)
        {'accept-encoding': 'gzip,deflate'}
    t,saccept-encodings
user-agents
keep-alivet
connectionsBasic sutf-8t
authorizationsproxy-authorizationsno-caches
cache-control(t
isinstancetstrtlisttjointACCEPT_ENCODINGRRtdecode(t
keep_alivetaccept_encodingt
user_agentt
basic_authtproxy_basic_autht
disable_cachetheaders((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/util/request.pytmake_headerss**


&
cC@sk|dk	rt||�nKt|dd�dk	rgy|j�}Wqgttfk
rct}qgXn|S(s
    If a position is provided, move file to that point.
    Otherwise, we'll attempt to record a position for future use.
    ttellN(tNonetrewind_bodytgetattrRtIOErrortOSErrort_FAILEDTELL(tbodytpos((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/util/request.pytset_file_positionZs
cC@s�t|dd�}|dk	rdt|t�rdy||�Wq�ttfk
r`td��q�Xn1|tkrtd��ntdt	|���dS(s�
    Attempt to rewind body to a certain position.
    Primarily used for request redirects and retries.

    :param body:
        File-like object that supports seek.

    :param int pos:
        Position to seek to in file.
    tseeksAAn error occurred when rewinding request body for redirect/retry.sRUnable to record file position for rewinding request body during a redirect/retry.s4body_pos must be of type integer, instead it was %s.N(
RRRRRRRRt
ValueErrorttype(Rtbody_post	body_seek((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/util/request.pyRls(t
__future__Rtbase64Rtpackages.sixRRt
exceptionsRRtbrotlit_unused_module_brotlitImportErrortobjectRRRRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/util/request.pyt<module>s$

	B	

SILENT KILLER Tool