HEX
Server: Apache
System: Linux br384.hostgator.com.br 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User: regi8665 (2159)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: //usr/lib/python2.7/site-packages/requests/utils.pyc
�
i�$ec@s�dZddlZddlZddlZddlZddlZddlZddlZddlZddl	Z	ddl
Z
ddlZddlm
Z
ddlmZddlmZddlmZddlmZdd	lmZdd
lmZddlmZmZmZmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&ddl'm(Z(dd
l)m*Z*ddl+m,Z,m-Z-m.Z.m/Z/dKZ0ej1�Z2idd6dd6Z3dj4ej5dede6�d��Z7ej8dkrd�Z9d�Znd�Z:d�Z;e<d�Z=d�Z>d �Z?ej@d!��ZAd"�ZBd#�ZCd$�ZDd%�ZEe<d&�ZFd'�ZGd(�ZHd)�ZId*�ZJd+�ZKd,�ZLd-�ZMd.�ZNeOd/d0�ZPd1�ZQd2�ZRd3�ZSd4�ZTd5�ZUd6�ZVej@d7��ZWd8�ZXdd9�ZZd:�Z[e6d;�Z\d<d=�Z]d>�Z^d?�Z_d@j`dA�ZaeadBZbeadCZcdD�ZddE�ZedF�ZfejgdG�ZhejgdG�ZidH�ZjdI�ZkdJ�ZldS(Ls�
requests.utils
~~~~~~~~~~~~~~

This module provides utility functions that are used within Requests
that are also useful for external consumption.
i����N(tOrderedDict(tmake_headers(t	parse_urli(t__version__(tcerts(tto_native_string(tparse_http_list(tquoteturlparsetbyteststrtunquotet
getproxiestproxy_bypasst
urlunparset
basestringt
integer_typestis_py3tproxy_bypass_environmenttgetproxies_environmenttMapping(tcookiejar_from_dict(tCaseInsensitiveDict(t
InvalidURLt
InvalidHeadertFileModeWarningtUnrewindableBodyErrors.netrct_netrciPthttpi�thttpss, s,\s*taccept_encodingsaccept-encodingtwin32cCsAy%trddl}nddl}Wntk
r9tSXyK|j|jd�}t|j|d�d�}|j|d�d}Wnt	k
r�tSX|s�|r�tS|j
d�}x|D]w}|dkr�d|kr�tSn|jdd	�}|jd
d�}|jdd�}t
j||t
j�r�tSq�WtS(
Ni����s;Software\Microsoft\Windows\CurrentVersion\Internet SettingstProxyEnableit
ProxyOverridet;s<local>t.s\.t*s.*t?(Rtwinregt_winregtImportErrortFalsetOpenKeytHKEY_CURRENT_USERtinttQueryValueExtOSErrortsplittTruetreplacetretmatchtI(thostR&tinternetSettingstproxyEnablet
proxyOverridettest((s2/usr/lib/python2.7/site-packages/requests/utils.pytproxy_bypass_registry7s8
		

cCs!t�rt|�St|�SdS(s�Return True, if the host should be bypassed.

        Checks proxy settings gathered from the environment, if specified,
        or the registry.
        N(RRR:(R5((s2/usr/lib/python2.7/site-packages/requests/utils.pyR
^s	
cCs"t|d�r|j�}n|S(s/Returns an internal sequence dictionary update.titems(thasattrR;(td((s2/usr/lib/python2.7/site-packages/requests/utils.pytdict_to_sequencejscCs�d}d}t|d�r*t|�}n�t|d�rE|j}nst|d�r�y|j�}Wntjtfk
r�q�Xtj|�j	}d|j
kr�tjdt
�q�nt|d�rzy|j�}Wn,ttfk
r|dk	rw|}qwqzXt|d�rz|dkrzy3|jdd	�|j�}|j|pOd�Wqwttfk
rsd}qwXqzn|dkr�d}ntd||�S(
Nit__len__tlentfilenotbs%Requests has determined the content-length for this request using the binary size of the file: however, the file has been opened in text mode (i.e. without the 'b' flag in the mode). This may lead to an incorrect content-length. In Requests 3.0, support will be removed for files in text mode.ttelltseeki(tNoneR<R@RAtiotUnsupportedOperationtAttributeErrortostfstattst_sizetmodetwarningstwarnRRCR.tIOErrorRDtmax(tottotal_lengthtcurrent_positionRA((s2/usr/lib/python2.7/site-packages/requests/utils.pyt	super_lenss@

	cCs�tjjd�}|dk	r*|f}nd�tD�}y>ddlm}m}d}xU|D]M}ytjj|�}Wnt	k
r�dSXtjj
|�r`|}Pq`q`W|dkr�dSt|�}	d}
t|t
�r�|
jd�}
n|	jj|
�d}yG||�j|�}|rP|dr8dnd	}
||
|d
fSWn#|tfk
rv|rw�qwnXWnttfk
r�nXdS(s;Returns the Requests tuple auth for a given url from netrc.tNETRCcss|]}dj|�VqdS(s~/{}N(tformat(t.0tf((s2/usr/lib/python2.7/site-packages/requests/utils.pys	<genexpr>�si����(tnetrctNetrcParseErrorNt:tasciiiii(RItenvirontgetREtNETRC_FILESRYRZtpatht
expandusertKeyErrortexistsRt
isinstanceR
tdecodetnetlocR/tauthenticatorsROR(RH(turltraise_errorst
netrc_filetnetrc_locationsRYRZt
netrc_pathRXtloctritsplitstrR5Rtlogin_i((s2/usr/lib/python2.7/site-packages/requests/utils.pytget_netrc_auth�s@

cCs[t|dd�}|rWt|t�rW|ddkrW|ddkrWtjj|�SdS(s0Tries to guess the filename of the given object.tnameit<i����t>N(tgetattrRERdRRIR`tbasename(tobjRr((s2/usr/lib/python2.7/site-packages/requests/utils.pytguess_filename�s%cCs/tjj|�r|Stjj|�\}}xT|r�tjj|�r�tjj|�\}}|slPndj||g�}q1Wtj|�s�|Stj|�}||j�kr�|St	j
�}tjj||jd�d�}tjj|�s+t|��}|j|j
|��WdQXn|S(s�Replace nonexistent paths that look like they refer to a member of a zip
    archive with the location of an extracted copy of the target, or else
    just return the provided path unchanged.
    t/i����N(RIR`RcR/tjointzipfilet
is_zipfiletZipFiletnamelistttempfilet
gettempdirtatomic_opentwritetread(R`tarchivetmembertprefixtzip_filettmptextracted_pathtfile_handler((s2/usr/lib/python2.7/site-packages/requests/utils.pytextract_zipped_paths�s&"ccs�tjddkrtjntj}tjdtjj|��\}}y1tj	|d��}|VWdQX|||�Wn!t
k
r�tj|��nXdS(s-Write a file to the disk in an atomic fashioniitdirtwbN(tsystversion_infoRItrenameR1RtmkstempR`tdirnametfdopent
BaseExceptiontremove(tfilenametreplacerttmp_descriptorttmp_namettmp_handler((s2/usr/lib/python2.7/site-packages/requests/utils.pyR�s%$

cCsD|dkrdSt|ttttf�r:td��nt|�S(sTake an object and test to see if it can be represented as a
    dictionary. Unless it can not be represented as such, return an
    OrderedDict, e.g.,

    ::

        >>> from_key_val_list([('key', 'val')])
        OrderedDict([('key', 'val')])
        >>> from_key_val_list('string')
        Traceback (most recent call last):
        ...
        ValueError: cannot encode objects that are not 2-tuples
        >>> from_key_val_list({'key': 'val'})
        OrderedDict([('key', 'val')])

    :rtype: OrderedDict
    s+cannot encode objects that are not 2-tuplesN(RERdR
R	tboolR,t
ValueErrorR(tvalue((s2/usr/lib/python2.7/site-packages/requests/utils.pytfrom_key_val_list's
cCsb|dkrdSt|ttttf�r:td��nt|t�rX|j�}nt	|�S(s�Take an object and test to see if it can be represented as a
    dictionary. If it can be, return a list of tuples, e.g.,

    ::

        >>> to_key_val_list([('key', 'val')])
        [('key', 'val')]
        >>> to_key_val_list({'key': 'val'})
        [('key', 'val')]
        >>> to_key_val_list('string')
        Traceback (most recent call last):
        ...
        ValueError: cannot encode objects that are not 2-tuples

    :rtype: list
    s+cannot encode objects that are not 2-tuplesN(
RERdR
R	R�R,R�RR;tlist(R�((s2/usr/lib/python2.7/site-packages/requests/utils.pytto_key_val_listBscCshg}x[t|�D]M}|d |dko8dknrSt|dd!�}n|j|�qW|S(sParse lists as described by RFC 2068 Section 2.

    In particular, parse comma-separated lists where the elements of
    the list may include quoted-strings.  A quoted-string could
    contain a comma.  A non-quoted string could have quotes in the
    middle.  Quotes are removed automatically after parsing.

    It basically works like :func:`parse_set_header` just that items
    may appear multiple times and case sensitivity is preserved.

    The return value is a standard :class:`list`:

    >>> parse_list_header('token, "quoted value"')
    ['token', 'quoted value']

    To create a header from the :class:`list` again, use the
    :func:`dump_header` function.

    :param value: a string with a list header.
    :return: :class:`list`
    :rtype: list
    ii����t"(t_parse_list_headertunquote_header_valuetappend(R�tresulttitem((s2/usr/lib/python2.7/site-packages/requests/utils.pytparse_list_header`s$cCs�i}x�t|�D]~}d|kr5d||<qn|jdd�\}}|d |dkoldknr�t|dd!�}n|||<qW|S(s^Parse lists of key, value pairs as described by RFC 2068 Section 2 and
    convert them into a python dict:

    >>> d = parse_dict_header('foo="is a fish", bar="as well"')
    >>> type(d) is dict
    True
    >>> sorted(d.items())
    [('bar', 'as well'), ('foo', 'is a fish')]

    If there is no value for a key it will be `None`:

    >>> parse_dict_header('key_without_value')
    {'key_without_value': None}

    To create a header from the :class:`dict` again, use the
    :func:`dump_header` function.

    :param value: a string with a dict header.
    :return: :class:`dict`
    :rtype: dict
    t=ii����R�N(R�RER/R�(R�R�R�Rr((s2/usr/lib/python2.7/site-packages/requests/utils.pytparse_dict_header�s
$cCsq|rm|d|dko%dknrm|dd!}|sN|d dkrm|jdd�jdd�Sn|S(	s�Unquotes a header value.  (Reversal of :func:`quote_header_value`).
    This does not use the real unquoting but what browsers are actually
    using for quoting.

    :param value: the header value to unquote.
    :rtype: str
    ii����R�iis\\s\s\"(R1(R�tis_filename((s2/usr/lib/python2.7/site-packages/requests/utils.pyR��s
*
cCs+i}x|D]}|j||j<q
W|S(s�Returns a key/value dictionary from a CookieJar.

    :param cj: CookieJar object to extract cookies from.
    :rtype: dict
    (R�Rr(tcjtcookie_dicttcookie((s2/usr/lib/python2.7/site-packages/requests/utils.pytdict_from_cookiejar�s
cCs
t||�S(s�Returns a CookieJar from a key/value dictionary.

    :param cj: CookieJar to insert cookies into.
    :param cookie_dict: Dict of key/values to insert into CookieJar.
    :rtype: CookieJar
    (R(R�R�((s2/usr/lib/python2.7/site-packages/requests/utils.pytadd_dict_to_cookiejar�scCsvtjdt�tjddtj�}tjddtj�}tjd�}|j|�|j|�|j|�S(slReturns encodings from given content string.

    :param content: bytestring to extract encodings from.
    s�In requests 3.0, get_encodings_from_content will be removed. For more information, please see the discussion on issue #2266. (This warning should only appear once.)s!<meta.*?charset=["\']*(.+?)["\'>]tflagss+<meta.*?content=["\']*;?charset=(.+?)["\'>]s$^<\?xml.*?encoding=["\']*(.+?)["\'>](RMRNtDeprecationWarningR2tcompileR4tfindall(tcontentt
charset_ret	pragma_retxml_re((s2/usr/lib/python2.7/site-packages/requests/utils.pytget_encodings_from_content�sc
Cs�|jd�}|dj�|d}}i}d}x�|D]�}|j�}|r=|t}}|jd�}	|	dkr�||	 j|�}||	dj|�}n|||j�<q=q=W||fS(s�Returns content type and parameters from given header

    :param header: string
    :return: tuple containing content type and dictionary of
         parameters
    R"iis"' R�i����(R/tstripR0tfindtlower(
theaderttokenstcontent_typetparamstparams_dicttitems_to_striptparamtkeyR�tindex_of_equals((s2/usr/lib/python2.7/site-packages/requests/utils.pyt_parse_content_type_header�s

cCsl|jd�}|sdSt|�\}}d|krH|djd�Sd|krXdSd|krhdSdS(	s}Returns encodings from given HTTP Header Dict.

    :param headers: dictionary to extract encoding from.
    :rtype: str
    scontent-typetcharsets'"ttexts
ISO-8859-1sapplication/jsonsutf-8N(R^RER�R�(theadersR�R�((s2/usr/lib/python2.7/site-packages/requests/utils.pytget_encoding_from_headerssccs�|jdkr)x|D]}|VqWdStj|j�dd�}x+|D]#}|j|�}|rK|VqKqKW|jddt�}|r�|VndS(sStream decodes a iterator.NterrorsR1ttfinal(tencodingREtcodecstgetincrementaldecoderReR0(titeratortrR�tdecodertchunktrv((s2/usr/lib/python2.7/site-packages/requests/utils.pytstream_decode_response_unicodes
	
ccsdd}|dks|dkr-t|�}nx0|t|�kr_||||!V||7}q0WdS(s Iterate over slices of a string.iN(RER@(tstringtslice_lengthtpos((s2/usr/lib/python2.7/site-packages/requests/utils.pytiter_slices.scCs�tjdt�g}t|j�}|rcyt|j|�SWqctk
r_|j|�qcXnyt|j|dd�SWnt	k
r�|jSXdS(s�Returns the requested content back in unicode.

    :param r: Response object to get unicode content from.

    Tried:

    1. charset from content-type
    2. fall back and replace all unicode characters

    :rtype: str
    s�In requests 3.0, get_unicode_from_response will be removed. For more information, please see the discussion on issue #2266. (This warning should only appear once.)R�R1N(
RMRNR�R�R�R
R�tUnicodeErrorR�t	TypeError(R�ttried_encodingsR�((s2/usr/lib/python2.7/site-packages/requests/utils.pytget_unicode_from_response8s

t4ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzs0123456789-._~cCs�|jd�}x�tdt|��D]�}||dd!}t|�dkr�|j�r�ytt|d��}Wn!tk
r�td|��nX|tkr�|||d||<q�d||||<q%d||||<q%Wdj	|�S(s�Un-escape any percent-escape sequences in a URI that are unreserved
    characters. This leaves all reserved, illegal and non-ASCII bytes encoded.

    :rtype: str
    t%iiiis%Invalid percent-escape sequence: '%s'R�(
R/trangeR@tisalnumtchrR,R�RtUNRESERVED_SETRz(turitpartstithtc((s2/usr/lib/python2.7/site-packages/requests/utils.pytunquote_unreservedas
cCsKd}d}ytt|�d|�SWntk
rFt|d|�SXdS(s�Re-quote the given URI.

    This function passes the given URI through an unquote/quote cycle to
    ensure that it is fully and consistently quoted.

    :rtype: str
    s!#$%&'()*+,/:;=?@[]~s!#$&'()*+,/:;=?@[]~tsafeN(RR�R(R�tsafe_with_percenttsafe_without_percent((s2/usr/lib/python2.7/site-packages/requests/utils.pytrequote_uriys
cCs�tjdtj|��d}|jd�\}}tjdtjtt|����d}tjdtj|��d|@}||@||@kS(s�This function allows you to check if an IP belongs to a network subnet

    Example: returns True if ip = 192.168.1.1 and net = 192.168.1.0/24
             returns False if ip = 192.168.1.1 and net = 192.168.100.0/24

    :rtype: bool
    s=LiRy(tstructtunpacktsockett	inet_atonR/tdotted_netmaskR,(tiptnettipaddrtnetaddrtbitstnetmasktnetwork((s2/usr/lib/python2.7/site-packages/requests/utils.pytaddress_in_network�s
+#cCs/ddd|>dA}tjtjd|��S(s�Converts mask from /xx format to xxx.xxx.xxx.xxx

    Example: if mask is 24 function returns 255.255.255.0

    :rtype: str
    I����ii s>I(R�t	inet_ntoaR�tpack(tmaskR�((s2/usr/lib/python2.7/site-packages/requests/utils.pyR��scCs-ytj|�Wntjk
r(tSXtS(s
    :rtype: bool
    (R�R�terrorR)R0(t	string_ip((s2/usr/lib/python2.7/site-packages/requests/utils.pytis_ipv4_address�s
cCs�|jd�dkr�yt|jd�d�}Wntk
rFtSX|dks_|dkrctSytj|jd�d�Wq�tjk
r�tSXntStS(sV
    Very simple check of the cidr format in no_proxy variable.

    :rtype: bool
    Ryii i(	tcountR,R/R�R)R�R�R�R0(tstring_networkR�((s2/usr/lib/python2.7/site-packages/requests/utils.pyt
is_valid_cidr�s
ccst|dk	}|r4tjj|�}|tj|<nz	dVWd|ro|dkr_tj|=qo|tj|<nXdS(s�Set the environment variable 'env_name' to 'value'

    Save previous value, yield, and then restore the previous value stored in
    the environment variable 'env_name'.

    If 'value' is None, do nothingN(RERIR]R^(tenv_nameR�t
value_changedt	old_value((s2/usr/lib/python2.7/site-packages/requests/utils.pytset_environ�s	
c	
Cs�d�}|}|dkr*|d�}nt|�}|jdkrItS|r3d�|jdd�jd�D�}t|j�r�x�|D]>}t|�r�t|j|�r�tSq�|j|kr�tSq�Wq3|j}|j	r�|dj
|j	�7}nx6|D]+}|jj|�s(|j|�rtSqWntd|��;yt
|j�}Wn ttjfk
rxt}nXWdQX|r�tStS(	sL
    Returns whether we should bypass proxies or not.

    :rtype: bool
    cSs(tjj|�p'tjj|j��S(N(RIR]R^tupper(tk((s2/usr/lib/python2.7/site-packages/requests/utils.pyt<lambda>�stno_proxycss|]}|r|VqdS(N((RWR5((s2/usr/lib/python2.7/site-packages/requests/utils.pys	<genexpr>�st R�t,s:{}N(RERthostnameR0R1R/RRR�tportRVtendswithRR
R�R�tgaierrorR)(	RhRt	get_proxytno_proxy_argtparsedtproxy_ipthost_with_portR5tbypass((s2/usr/lib/python2.7/site-packages/requests/utils.pytshould_bypass_proxies�s<	%
		
!cCs!t|d|�riSt�SdS(sA
    Return a dict of environment proxies.

    :rtype: dict
    RN(RR(RhR((s2/usr/lib/python2.7/site-packages/requests/utils.pytget_environ_proxiesscCs�|p	i}t|�}|jdkrC|j|j|jd��S|jd|j|jd|jdg}d}x(|D] }||krz||}PqzqzW|S(s�Select a proxy for the url, if applicable.

    :param url: The url being for the request
    :param proxies: A dictionary of schemes or schemes and hosts to proxy URLs
    talls://sall://N(RRRER^tscheme(Rhtproxiesturlpartst
proxy_keystproxyt	proxy_key((s2/usr/lib/python2.7/site-packages/requests/utils.pytselect_proxy+s
	

c	Cs�|dk	r|ni}|j}t|�j}|jd�}|j�}|r�t|d|�r�t|d|�}|j||jd��}|r�|j||�q�n|S(s�This method takes proxy information from a request and configuration
    input to resolve a mapping of target proxies. This will consider settings
    such a NO_PROXY to strip proxy configurations.

    :param request: Request or PreparedRequest
    :param proxies: A dictionary of schemes or schemes and hosts to proxy URLs
    :param trust_env: Boolean declaring whether to trust environment configs

    :rtype: dict
    RRN(	RERhRRR^tcopyRRt
setdefault(	trequestRt	trust_envRhRRtnew_proxiestenviron_proxiesR((s2/usr/lib/python2.7/site-packages/requests/utils.pytresolve_proxiesEs	spython-requestscCsd|tfS(sO
    Return a string representing the default user agent.

    :rtype: str
    s%s/%s(R(Rr((s2/usr/lib/python2.7/site-packages/requests/utils.pytdefault_user_agent`scCs)tit�d6td6dd6dd6�S(s9
    :rtype: requests.structures.CaseInsensitiveDict
    s
User-AgentsAccept-Encodings*/*tAccepts
keep-alivet
Connection(RR)tDEFAULT_ACCEPT_ENCODING(((s2/usr/lib/python2.7/site-packages/requests/utils.pytdefault_headersis

c	Cs
g}d}|j|�}|s%|Sx�tjd|�D]�}y|jdd�\}}Wntk
rz|d}}nXi|jd�d6}xa|jd�D]P}y|jd�\}}Wntk
r�PnX|j|�||j|�<q�W|j|�q8W|S(	s�Return a list of parsed link headers proxies.

    i.e. Link: <http:/.../front.jpeg>; rel=front; type="image/jpeg",<http://.../back.jpeg>; rel=back;type="image/jpeg"

    :rtype: list
    s '"s, *<R"iR�s<> '"RhR�(R�R2R/R�R�(	R�tlinkst
replace_charstvalRhR�tlinkR�R�((s2/usr/lib/python2.7/site-packages/requests/utils.pytparse_header_linksus&

 tR\iicCs|d }|tjtjfkr&dS|d tjkr=dS|d tjtjfkr]dS|jt�}|dkr|dS|dkr�|d	d	d�tkr�d
S|dd	d�tkr�dSn|dkr�|d t	kr�d
S|dt	kr�dSnd	S(s
    :rtype: str
    isutf-32is	utf-8-sigisutf-16isutf-8Ns	utf-16-beis	utf-16-les	utf-32-bes	utf-32-le(R�tBOM_UTF32_LEtBOM_UTF32_BEtBOM_UTF8tBOM_UTF16_LEtBOM_UTF16_BERt_nullt_null2t_null3RE(tdatatsamplet	nullcount((s2/usr/lib/python2.7/site-packages/requests/utils.pytguess_json_utf�s*
cCs�t|�}|\}}}}}}}	|j}
|
sF||
}
}n|rddj||
g�}
n|dkry|}n|dkr�d}nt||
|d||	f�S(s�Given a URL that may or may not have a scheme, prepend the given scheme.
    Does not replace a present scheme with the one provided as an argument.

    :rtype: str
    t@R�N(RRfRzRER(Rht
new_schemeRRtauthR5RR`tquerytfragmentRf((s2/usr/lib/python2.7/site-packages/requests/utils.pytprepend_scheme_if_needed�s			cCsRt|�}y"t|j�t|j�f}Wnttfk
rMd}nX|S(s{Given a url with authentication components, extract them into a tuple of
    username,password.

    :rtype: (str,str)
    R�(R�R�(RRtusernametpasswordRHR�(RhRRB((s2/usr/lib/python2.7/site-packages/requests/utils.pytget_auth_from_url�s"
s^\S[^\r\n]*$|^$cCs�|\}}t|t�r$t}nt}y&|j|�sOtd|��nWn0tk
r�td||t|�f��nXdS(s�Verifies that header value is a string which doesn't contain
    leading whitespace or return characters. This prevents unintended
    header injection.

    :param header: tuple, in the format (name, value).
    s7Invalid return character or leading space in header: %ss>Value for header {%s: %s} must be of type str or bytes, not %sN(RdR	t_CLEAN_HEADER_REGEX_BYTEt_CLEAN_HEADER_REGEX_STRR3RR�ttype(R�RrR�tpat((s2/usr/lib/python2.7/site-packages/requests/utils.pytcheck_header_validity�s	
cCsft|�\}}}}}}|s4||}}n|jdd�d}t|||||df�S(sW
    Given a url remove the fragment and the authentication part.

    :rtype: str
    R@ii����R�(RtrsplitR(RhRRfR`R�RCRD((s2/usr/lib/python2.7/site-packages/requests/utils.pyt
urldefragauths
cCs}t|jdd�}|dk	rmt|jt�rmy||j�Wqyttfk
ritd��qyXntd��dS(sfMove file pointer back to its recorded starting position
    so it can be read again on redirect.
    RDs;An error occurred when rewinding request body for redirect.s+Unable to rewind request body for redirect.N(	RutbodyRERdt_body_positionRROR.R(tprepared_requestt	body_seek((s2/usr/lib/python2.7/site-packages/requests/utils.pytrewind_bodys(s.netrcs_netrc(mt__doc__R�t
contextlibRFRIR2R�R�R�RRMR{tcollectionsRturllib3.utilRRRR�Rt_internal_utilsRtcompatRR�RRR	R
RRR
RRRRRRRtcookiesRt
structuresRt
exceptionsRRRRR_twheretDEFAULT_CA_BUNDLE_PATHt
DEFAULT_PORTSRzR/R0R,tplatformR:R>RTR)RqRxR�tcontextmanagerR�R�R�R�R�R�R�R�R�R�R�R�R�R�t	frozensetR�R�R�R�R�RRRRRERR!R(R)R-R2tencodeR9R:R;R?RERHR�RIRJRMRORT(((s2/usr/lib/python2.7/site-packages/requests/utils.pyt<module>	s�^""	'			@9		%			 	#							
	%
							=				&