Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
wiperf / usr / local / lib / python3.7 / dist-packages / requests / __pycache__ / models.cpython-37.pyc
Size: Mime:
B

ÒLˉ¾¾ã@sÊdZddlZddlZddlZddlmZddlmZddl	m
Z
ddlmZm
Z
mZmZddlmZdd	lmZdd
lmZddlmZddlmZmZmZdd
lmZmZmZm Z m!Z!m"Z"m#Z#ddl$m%Z%m&Z&ddl'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1ddl2m3Z3m4Z4m5Z5m6Z6m7Z7m8Z8m9Z9m:Z:m;Z;m<Z<m=Z=m>Z>ddl2m?Z@ddlAmBZBeBjCeBjDeBjEeBjFeBjGfZHdZIdZJdZKGdd„deLƒZMGdd„deLƒZNGdd„deNƒZOGdd„deMeNƒZPGdd„deLƒZQdS) z`
requests.models
~~~~~~~~~~~~~~~

This module contains the primary objects that power Requests.
éN)ÚRequestField)Úencode_multipart_formdata)Ú	parse_url)ÚDecodeErrorÚReadTimeoutErrorÚ
ProtocolErrorÚLocationParseError)ÚUnsupportedOperationé)Ú
default_hooks)ÚCaseInsensitiveDict)Ú
HTTPBasicAuth)Úcookiejar_from_dictÚget_cookie_headerÚ_copy_cookie_jar)Ú	HTTPErrorÚ
MissingSchemaÚ
InvalidURLÚChunkedEncodingErrorÚContentDecodingErrorÚConnectionErrorÚStreamConsumedError)Úto_native_stringÚunicode_is_ascii)
Úguess_filenameÚget_auth_from_urlÚrequote_uriÚstream_decode_response_unicodeÚto_key_val_listÚparse_header_linksÚiter_slicesÚguess_json_utfÚ	super_lenÚcheck_header_validity)ÚCallableÚMappingÚ	cookielibÚ
urlunparseÚurlsplitÚ	urlencodeÚstrÚbytesÚis_py2ÚchardetÚbuiltin_strÚ
basestring)Újson)Úcodeséi(ic@s0eZdZedd„ƒZedd„ƒZedd„ƒZdS)ÚRequestEncodingMixincCsNg}t|jƒ}|j}|sd}| |¡|j}|rD| d¡| |¡d |¡S)zBuild the path URL to use.ú/ú?Ú)r(ÚurlÚpathÚappendÚqueryÚjoin)Úselfr7Úpr8r:©r>ú5/tmp/pip-install-z4i6eiy2/requests/requests/models.pyÚpath_url=s



zRequestEncodingMixin.path_urlcCs¾t|ttfƒr|St|dƒr |St|dƒr¶g}xzt|ƒD]n\}}t|tƒsTt|dƒsZ|g}xJ|D]B}|dk	r`| t|tƒr„| d¡n|t|tƒrš| d¡n|f¡q`Wq8Wt|ddS|SdS)züEncode parameters in a piece of data.

        Will successfully encode parameters when passed as a dict or a list of
        2-tuples. Order is retained if data is a list of 2-tuples but arbitrary
        if parameters are supplied as a dict.
        ÚreadÚ__iter__Nzutf-8T)Údoseq)	Ú
isinstancer*r+Úhasattrrr/r9Úencoder))ÚdataÚresultÚkÚvsÚvr>r>r?Ú_encode_paramsRs 	


$z#RequestEncodingMixin._encode_paramscCs¼|stdƒ‚nt|tƒr tdƒ‚g}t|p,iƒ}t|p8iƒ}xˆ|D]€\}}t|tƒs^t|dƒsd|g}x\|D]T}|dk	rjt|tƒsˆt|ƒ}| t|tƒr | d¡n|t|tƒr¶| 	d¡n|f¡qjWqBWxà|D]Ø\}}d}d}	t|t
tfƒr,t|ƒdkr|\}
}n&t|ƒdkr|\}
}}n|\}
}}}	nt
|ƒp8|}
|}t|tttfƒrV|}n(t|dƒrl| ¡}n|dkrzqÌn|}t|||
|	d	}
|
j|d
| |
¡qÌWt|ƒ\}}||fS)a¥Build the body for a multipart/form-data request.

        Will successfully encode files when passed as a dict or a list of
        tuples. Order is retained if data is a list of tuples but arbitrary
        if parameters are supplied as a dict.
        The tuples may be 2-tuples (filename, fileobj), 3-tuples (filename, fileobj, contentype)
        or 4-tuples (filename, fileobj, contentype, custom_headers).
        zFiles must be provided.zData must not be a string.rBNzutf-8éérA)ÚnamerGÚfilenameÚheaders)Úcontent_type)Ú
ValueErrorrDr/rrEr+r*r9ÚdecoderFÚtupleÚlistÚlenrÚ	bytearrayrArÚmake_multipartr)ÚfilesrGÚ
new_fieldsÚfieldsÚfieldÚvalrKrIÚftÚfhÚfnÚfpÚfdataÚrfÚbodyrRr>r>r?Ú
_encode_filesmsP




$


z"RequestEncodingMixin._encode_filesN)Ú__name__Ú
__module__Ú__qualname__Úpropertyr@ÚstaticmethodrLrfr>r>r>r?r3<sr3c@seZdZdd„Zdd„ZdS)ÚRequestHooksMixincCsZ||jkrtd|ƒ‚t|tƒr2|j| |¡n$t|dƒrV|j| dd„|Dƒ¡dS)zProperly register a hook.z1Unsupported event specified, with event name "%s"rBcss|]}t|tƒr|VqdS)N)rDr$)Ú.0Úhr>r>r?ú	<genexpr>¸sz2RequestHooksMixin.register_hook.<locals>.<genexpr>N)ÚhooksrSrDr$r9rEÚextend)r<ÚeventÚhookr>r>r?Ú
register_hook¯s


zRequestHooksMixin.register_hookcCs.y|j| |¡dStk
r(dSXdS)ziDeregister a previously registered hook.
        Returns True if the hook existed, False if not.
        TFN)rpÚremoverS)r<rrrsr>r>r?Úderegister_hookºs
z!RequestHooksMixin.deregister_hookN)rgrhrirtrvr>r>r>r?rl®srlc
@s*eZdZdZd	dd„Zdd„Zdd„ZdS)
ÚRequesta{A user-created :class:`Request <Request>` object.

    Used to prepare a :class:`PreparedRequest <PreparedRequest>`, which is sent to the server.

    :param method: HTTP method to use.
    :param url: URL to send.
    :param headers: dictionary of headers to send.
    :param files: dictionary of {filename: fileobject} files to multipart upload.
    :param data: the body to attach to the request. If a dictionary or
        list of tuples ``[(key, value)]`` is provided, form-encoding will
        take place.
    :param json: json for the body to attach to the request (if files or data is not specified).
    :param params: URL parameters to append to the URL. If a dictionary or
        list of tuples ``[(key, value)]`` is provided, form-encoding will
        take place.
    :param auth: Auth handler or (user, pass) tuple.
    :param cookies: dictionary or CookieJar of cookies to attach to this request.
    :param hooks: dictionary of callback hooks, for internal usage.

    Usage::

      >>> import requests
      >>> req = requests.Request('GET', 'https://httpbin.org/get')
      >>> req.prepare()
      <PreparedRequest [GET]>
    Nc
Csº|dkrgn|}|dkrgn|}|dkr,in|}|dkr<in|}|	dkrLin|	}	tƒ|_x&t|	 ¡ƒD]\}}|j||dqfW||_||_||_||_||_	|
|_
||_||_||_
dS)N)rrrs)rrprVÚitemsrtÚmethodr7rQrZrGr0ÚparamsÚauthÚcookies)
r<ryr7rQrZrGrzr{r|rpr0rIrKr>r>r?Ú__init__âs"zRequest.__init__cCs
d|jS)Nz<Request [%s]>)ry)r<r>r>r?Ú__repr__ûszRequest.__repr__cCs<tƒ}|j|j|j|j|j|j|j|j|j	|j
|jd
|S)zXConstructs a :class:`PreparedRequest <PreparedRequest>` for transmission and returns it.)
ryr7rQrZrGr0rzr{r|rp)ÚPreparedRequestÚprepareryr7rQrZrGr0rzr{r|rp)r<r=r>r>r?r€þs
zRequest.prepare)
NNNNNNNNNN)rgrhriÚ__doc__r}r~r€r>r>r>r?rwÆs

rwc
@s‚eZdZdZdd„Zddd„Zdd„Zd	d
„Zdd„Ze	d
d„ƒZ
dd„Zdd„Zddd„Z
dd„Zd dd„Zdd„Zdd„ZdS)!raÓThe fully mutable :class:`PreparedRequest <PreparedRequest>` object,
    containing the exact bytes that will be sent to the server.

    Generated from either a :class:`Request <Request>` object or manually.

    Usage::

      >>> import requests
      >>> req = requests.Request('GET', 'https://httpbin.org/get')
      >>> r = req.prepare()
      >>> r
      <PreparedRequest [GET]>

      >>> s = requests.Session()
      >>> s.send(r)
      <Response [200]>
    cCs0d|_d|_d|_d|_d|_tƒ|_d|_dS)N)ryr7rQÚ_cookiesrerrpÚ_body_position)r<r>r>r?r}#szPreparedRequest.__init__NcCsR| |¡| ||¡| |¡| |¡| |||
¡| ||¡| |	¡dS)z6Prepares the entire request with the given parameters.N)Úprepare_methodÚprepare_urlÚprepare_headersÚprepare_cookiesÚprepare_bodyÚprepare_authÚ
prepare_hooks)r<ryr7rQrZrGrzr{r|rpr0r>r>r?r€4s


zPreparedRequest.preparecCs
d|jS)Nz<PreparedRequest [%s]>)ry)r<r>r>r?r~FszPreparedRequest.__repr__cCsXtƒ}|j|_|j|_|jdk	r*|j ¡nd|_t|jƒ|_|j|_|j|_|j	|_	|S)N)
rryr7rQÚcopyrr‚rerprƒ)r<r=r>r>r?r‹IszPreparedRequest.copycCs$||_|jdk	r t|j ¡ƒ|_dS)zPrepares the given HTTP method.N)ryrÚupper)r<ryr>r>r?r„Ts
zPreparedRequest.prepare_methodcCs@ddl}y|j|dd d¡}Wn|jk
r:t‚YnX|S)NrT)Úuts46zutf-8)ÚidnarFrTÚ	IDNAErrorÚUnicodeError)ÚhostrŽr>r>r?Ú_get_idna_encoded_hostZs
z&PreparedRequest._get_idna_encoded_hostc
Cs,t|tƒr| d¡}ntr"t|ƒnt|ƒ}| ¡}d|krR| ¡ d¡sR||_	dSyt
|ƒ\}}}}}}}	Wn,tk
r˜}
zt|
j
ނWdd}
~
XYnX|sºd}| t|dƒ¡}t|ƒ‚|sÊtd|ƒ‚t|ƒsy| |¡}Wntk
rþtdƒ‚YnXn| d¡rtdƒ‚|pd	}|r.|d
7}||7}|rL|dt|ƒ7}|sVd}trÊt|tƒrr| d¡}t|tƒrˆ| d¡}t|tƒrž| d¡}t|tƒr´| d¡}t|	tƒrÊ|	 d¡}	t|ttfƒrât|ƒ}| |¡}
|
r
|rd
||
f}n|
}tt|||d||	gƒƒ}||_	dS)zPrepares the given HTTP URL.Úutf8ú:ÚhttpNzDInvalid URL {0!r}: No schema supplied. Perhaps you meant http://{0}?z Invalid URL %r: No host suppliedzURL has an invalid label.Ú*r6ú@r4zutf-8z%s&%s)rDr+rTr,Úunicoder*ÚlstripÚlowerÚ
startswithr7rrrÚargsÚformatrrrr’rrFrLrr')r<r7rzÚschemer{r‘Úportr8r:ÚfragmentÚeÚerrorÚnetlocÚ
enc_paramsr>r>r?r…dsh








zPreparedRequest.prepare_urlcCs@tƒ|_|r<x.| ¡D]"}t|ƒ|\}}||jt|ƒ<qWdS)z Prepares the given HTTP headers.N)rrQrxr#r)r<rQÚheaderrOÚvaluer>r>r?r†ºszPreparedRequest.prepare_headersc
Csrd}d}|s6|dk	r6d}t |¡}t|tƒs6| d¡}tt|dƒt|ttt	t
fƒgƒ}|røyt|ƒ}Wntt
tfk
r†d}YnX|}t|ddƒdk	rÌy| ¡|_Wn ttfk
rÊtƒ|_YnX|rØtdƒ‚|rìt|ƒ|jd<n
d|jd	<np|r| ||¡\}}n2|rB| |¡}t|tƒs8t|d
ƒr>d}nd}| |¡|rhd|jkrh||jd
<||_dS)z"Prepares the given HTTP body data.Nzapplication/jsonzutf-8rBÚtellz1Streamed bodies and files are mutually exclusive.zContent-LengthÚchunkedzTransfer-EncodingrAz!application/x-www-form-urlencodedzcontent-typezContent-Type)ÚcomplexjsonÚdumpsrDr+rFÚallrEr/rVrUr%r"Ú	TypeErrorÚAttributeErrorr	Úgetattrr§rƒÚIOErrorÚOSErrorÚobjectÚNotImplementedErrorr.rQrfrLÚprepare_content_lengthre)r<rGrZr0rerRÚ	is_streamÚlengthr>r>r?rˆÅsJ






zPreparedRequest.prepare_bodycCsL|dk	r$t|ƒ}|rHt|ƒ|jd<n$|jdkrH|j d¡dkrHd|jd<dS)z>Prepare Content-Length header based on request method and bodyNzContent-Length)ÚGETÚHEADÚ0)r"r.rQryÚget)r<rerµr>r>r?r³
sz&PreparedRequest.prepare_content_lengthr6cCsj|dkr"t|jƒ}t|ƒr|nd}|rft|tƒrDt|ƒdkrDt|Ž}||ƒ}|j |j¡| 	|j
¡dS)z"Prepares the given HTTP auth data.NrM)rr7ÚanyrDrUrWr
Ú__dict__Úupdater³re)r<r{r7Úurl_authÚrr>r>r?r‰s
zPreparedRequest.prepare_authcCs@t|tjƒr||_n
t|ƒ|_t|j|ƒ}|dk	r<||jd<dS)aPrepares the given HTTP cookie data.

        This function eventually generates a ``Cookie`` header from the
        given cookies using cookielib. Due to cookielib's design, the header
        will not be regenerated if it already exists, meaning this function
        can only be called once for the life of the
        :class:`PreparedRequest <PreparedRequest>` object. Any subsequent calls
        to ``prepare_cookies`` will have no actual effect, unless the "Cookie"
        header is removed beforehand.
        NÚCookie)rDr&Ú	CookieJarr‚rrrQ)r<r|Ú
cookie_headerr>r>r?r‡-s
zPreparedRequest.prepare_cookiescCs*|pg}x|D]}| |||¡qWdS)zPrepares the given hooks.N)rt)r<rprrr>r>r?rŠAs
zPreparedRequest.prepare_hooks)
NNNNNNNNNN)N)r6)rgrhrirr}r€r~r‹r„rkr’r…r†rˆr³r‰r‡rŠr>r>r>r?rs

V
E
rc
@seZdZdZdddddddd	d
dg
Zdd
„Zdd„Zdd„Zdd„Zdd„Z	dd„Z
dd„Zdd„Zdd„Z
edd„ƒZed d!„ƒZed"d#„ƒZed$d%„ƒZed&d'„ƒZd;d*d+„Zed)d,fd-d.„Zed/d0„ƒZed1d2„ƒZd3d4„Zed5d6„ƒZd7d8„Zd9d:„Zd,S)<ÚResponsezhThe :class:`Response <Response>` object, which contains a
    server's response to an HTTP request.
    Ú_contentÚstatus_coderQr7ÚhistoryÚencodingÚreasonr|ÚelapsedÚrequestcCs^d|_d|_d|_d|_tƒ|_d|_d|_d|_g|_	d|_
tiƒ|_t
 d¡|_d|_dS)NFr)rÃÚ_content_consumedÚ_nextrÄrrQÚrawr7rÆrÅrÇrr|ÚdatetimeÚ	timedeltarÈrÉ)r<r>r>r?r}Us
zResponse.__init__cCs|S)Nr>)r<r>r>r?Ú	__enter__„szResponse.__enter__cGs| ¡dS)N)Úclose)r<rœr>r>r?Ú__exit__‡szResponse.__exit__cs ˆjsˆj‡fdd„ˆjDƒS)Ncsi|]}tˆ|dƒ|“qS)N)r®)rmÚattr)r<r>r?ú
<dictcomp>sz)Response.__getstate__.<locals>.<dictcomp>)rÊÚcontentÚ	__attrs__)r<r>)r<r?Ú__getstate__ŠszResponse.__getstate__cCs>x | ¡D]\}}t|||ƒq
Wt|ddƒt|ddƒdS)NrÊTrÌ)rxÚsetattr)r<ÚstaterOr¦r>r>r?Ú__setstate__’szResponse.__setstate__cCs
d|jS)Nz<Response [%s]>)rÄ)r<r>r>r?r~šszResponse.__repr__cCs|jS)akReturns True if :attr:`status_code` is less than 400.

        This attribute checks if the status code of the response is between
        400 and 600 to see if there was a client error or a server error. If
        the status code, is between 200 and 400, this will return True. This
        is **not** a check to see if the response code is ``200 OK``.
        )Úok)r<r>r>r?Ú__bool__szResponse.__bool__cCs|jS)akReturns True if :attr:`status_code` is less than 400.

        This attribute checks if the status code of the response is between
        400 and 600 to see if there was a client error or a server error. If
        the status code, is between 200 and 400, this will return True. This
        is **not** a check to see if the response code is ``200 OK``.
        )rÚ)r<r>r>r?Ú__nonzero__§szResponse.__nonzero__cCs
| d¡S)z,Allows you to use a response as an iterator.é€)Úiter_content)r<r>r>r?rB±szResponse.__iter__cCs&y| ¡Wntk
r dSXdS)axReturns True if :attr:`status_code` is less than 400, False if not.

        This attribute checks if the status code of the response is between
        400 and 600 to see if there was a client error or a server error. If
        the status code is between 200 and 400, this will return True. This
        is **not** a check to see if the response code is ``200 OK``.
        FT)Úraise_for_statusr)r<r>r>r?rÚµs
	zResponse.okcCsd|jko|jtkS)zšTrue if this Response is a well-formed HTTP redirect that could have
        been processed automatically (by :meth:`Session.resolve_redirects`).
        Úlocation)rQrÄÚREDIRECT_STATI)r<r>r>r?Úis_redirectÄszResponse.is_redirectcCsd|jko|jtjtjfkS)z@True if this Response one of the permanent versions of redirect.rà)rQrÄr1Úmoved_permanentlyÚpermanent_redirect)r<r>r>r?Úis_permanent_redirectËszResponse.is_permanent_redirectcCs|jS)zTReturns a PreparedRequest for the next request in a redirect chain, if there is one.)rË)r<r>r>r?ÚnextÐsz
Response.nextcCst |j¡dS)z7The apparent encoding, provided by the chardet library.rÆ)r-ÚdetectrÔ)r<r>r>r?Úapparent_encodingÕszResponse.apparent_encodingr
Fcs|‡‡fdd„}ˆjr(tˆjtƒr(tƒ‚n"ˆdk	rJtˆtƒsJtdtˆƒƒ‚tˆjˆƒ}|ƒ}ˆjrf|n|}|rxt	|ˆƒ}|S)aøIterates over the response data.  When stream=True is set on the
        request, this avoids reading the content at once into memory for
        large responses.  The chunk size is the number of bytes it should
        read into memory.  This is not necessarily the length of each item
        returned as decoding can take place.

        chunk_size must be of type int or None. A value of None will
        function differently depending on the value of `stream`.
        stream=True will read data as it arrives in whatever size the
        chunks are received. If stream=False, data is returned as
        a single chunk.

        If decode_unicode is True, content will be decoded using the best
        available encoding based on the response.
        c
3sÖtˆjdƒr®y$xˆjjˆddD]
}|Vq WWqÌtk
rZ}zt|ƒ‚Wdd}~XYqÌtk
r‚}zt|ƒ‚Wdd}~XYqÌtk
rª}zt|ƒ‚Wdd}~XYqÌXnxˆj 	ˆ¡}|sÂP|Vq°Wdˆ_
dS)NÚstreamT)Údecode_content)rErÌrérrrrrrrArÊ)Úchunkr¡)Ú
chunk_sizer<r>r?Úgenerateës 
z'Response.iter_content.<locals>.generateNz.chunk_size must be an int, it is instead a %s.)
rÊrDrÃÚboolrÚintr¬Útyper r)r<rìÚdecode_unicoderíÚ
reused_chunksÚ
stream_chunksÚchunksr>)rìr<r?rÞÚs
zResponse.iter_contentNccsœd}x„|j||dD]r}|dk	r(||}|r8| |¡}n| ¡}|rn|drn|rn|dd|dkrn| ¡}nd}x|D]
}|VqxWqW|dk	r˜|VdS)zõIterates over the response data, one line at a time.  When
        stream=True is set on the request, this avoids reading the
        content at once into memory for large responses.

        .. note:: This method is not reentrant safe.
        N)rìrñéÿÿÿÿ)rÞÚsplitÚ
splitlinesÚpop)r<rìrñÚ	delimiterÚpendingrëÚlinesÚliner>r>r?Ú
iter_liness$

zResponse.iter_linescCsV|jdkrJ|jrtdƒ‚|jdks,|jdkr4d|_nd | t¡¡pFd|_d|_|jS)z"Content of the response, in bytes.Fz2The content for this response was already consumedrNóT)rÃrÊÚRuntimeErrorrÄrÌr;rÞÚCONTENT_CHUNK_SIZE)r<r>r>r?rÔ0s
zResponse.contentc	Cshd}|j}|jstdƒS|jdkr(|j}yt|j|dd}Wn&ttfk
rbt|jdd}YnX|S)aÀContent of the response, in unicode.

        If Response.encoding is None, encoding will be guessed using
        ``chardet``.

        The encoding of the response content is determined based solely on HTTP
        headers, following RFC 2616 to the letter. If you can take advantage of
        non-HTTP knowledge to make a better guess at the encoding, you should
        set ``r.encoding`` appropriately before accessing this property.
        Nr6Úreplace)Úerrors)rÆrÔr*rèÚLookupErrorr¬)r<rÔrÆr>r>r?ÚtextDs
z
Response.textcKsh|jsX|jrXt|jƒdkrXt|jƒ}|dk	rXytj|j |¡f|ŽStk
rVYnXtj|jf|ŽS)zØReturns the json-encoded content of a response, if any.

        :param \*\*kwargs: Optional arguments that ``json.loads`` takes.
        :raises ValueError: If the response body does not contain valid json.
        rNN)	rÆrÔrWr!r©ÚloadsrTÚUnicodeDecodeErrorr)r<ÚkwargsrÆr>r>r?r0js
z
Response.jsoncCsJ|j d¡}i}|rFt|ƒ}x(|D] }| d¡p8| d¡}|||<q"W|S)z8Returns the parsed header links of the response, if any.ÚlinkÚrelr7)rQr¹r)r<r¥ÚlÚlinksrÚkeyr>r>r?r„s
zResponse.linkscCs¸d}t|jtƒrDy|j d¡}WqJtk
r@|j d¡}YqJXn|j}d|jkr`dkrxnnd|j||jf}n,d|jkrŽdkr¤nnd|j||jf}|r´t||d	‚d
S)z+Raises :class:`HTTPError`, if one occurred.r6zutf-8z
iso-8859-1iiôz%s Client Error: %s for url: %siXz%s Server Error: %s for url: %s)ÚresponseN)rDrÇr+rTrrÄr7r)r<Úhttp_error_msgrÇr>r>r?rߖszResponse.raise_for_statuscCs0|js|j ¡t|jddƒ}|dk	r,|ƒdS)zØReleases the connection back to the pool. Once this method has been
        called the underlying ``raw`` object must not be accessed again.

        *Note: Should not normally need to be called explicitly.*
        Úrelease_connN)rÊrÌrÐr®)r<rr>r>r?rЯs

zResponse.close)r
F)rgrhrirrÕr}rÏrÑrÖrÙr~rÛrÜrBrjrÚrârårærèrÞÚITER_CHUNK_SIZErýrÔrr0rrßrÐr>r>r>r?rÂKs2
/


7&rÂ)RrrÍÚsysÚencodings.idnaÚ	encodingsZurllib3.fieldsrZurllib3.filepostrZurllib3.utilrZurllib3.exceptionsrrrrÚior	rprÚ
structuresrr{r
r|rrrÚ
exceptionsrrrrrrrÚ_internal_utilsrrÚutilsrrrrrrr r!r"r#Úcompatr$r%r&r'r(r)r*r+r,r-r.r/r0r©Ústatus_codesr1ÚmovedÚfoundÚotherÚtemporary_redirecträráÚDEFAULT_REDIRECT_LIMITrrr±r3rlrwrrÂr>r>r>r?Ú<module>sB$08rJ=