MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 13.59.226.183
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/request.pyc
�
r2Wc@@sUddlmZddlmZddlmZdZddddddd�ZdS(i(tabsolute_import(t	b64encodei(tbsgzip,deflatecC@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((sV/usr/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/request.pytmake_headers	s*$


##
N(	t
__future__Rtbase64Rtpackages.sixRR
tNoneR(((sV/usr/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/request.pyt<module>s
	

MMCT - 2023