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    
Size: Mime:
ó
¸EYc@s‰dZddlZddlZddlZddlZddlmZddlm	Z	ddl
mZddlm
Z
mZmZmZddlmZdd	lmZdd
lmZddlmZddlmZmZmZdd
lmZmZm Z m!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/m0Z0m1Z1m2Z2ddl3m4Z4m5Z5m6Z6m7Z7m8Z8m9Z9m:Z:m;Z;m<Z<m=Z=ddl3m>Z?ddl@mAZAeAjBeAjCeAjDeAjEeAjFfZGdZHddZIdZJdeKfd„ƒYZLdeKfd„ƒYZMdeMfd„ƒYZNdeLeMfd„ƒYZOdeKfd „ƒYZPdS(!s`
requests.models
~~~~~~~~~~~~~~~

This module contains the primary objects that power Requests.
iÿÿÿÿN(tRequestField(tencode_multipart_formdata(t	parse_url(tDecodeErrortReadTimeoutErrort
ProtocolErrortLocationParseError(tUnsupportedOperationi(t
default_hooks(tCaseInsensitiveDict(t
HTTPBasicAuth(tcookiejar_from_dicttget_cookie_headert_copy_cookie_jar(t	HTTPErrort
MissingSchemat
InvalidURLtChunkedEncodingErrortContentDecodingErrortConnectionErrortStreamConsumedError(tto_native_stringtunicode_is_ascii(
tguess_filenametget_auth_from_urltrequote_uritstream_decode_response_unicodetto_key_val_listtparse_header_linkstiter_slicestguess_json_utft	super_lentcheck_header_validity(
t	cookielibt
urlunparseturlsplitt	urlencodetstrtbytestis_py2tchardettbuiltin_strt
basestring(tjson(tcodesii
iitRequestEncodingMixincBs5eZed„ƒZed„ƒZed„ƒZRS(cCssg}t|jƒ}|j}|s-d}n|j|ƒ|j}|rf|jdƒ|j|ƒndj|ƒS(sBuild the path URL to use.t/t?t(R#turltpathtappendtquerytjoin(tselfR1tpR2R4((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pytpath_url=s		
	
cCst|ttfƒr|St|dƒr,|St|dƒrg}x´t|ƒD]¦\}}t|tƒsyt|dƒr…|g}nxl|D]d}|dk	rŒ|jt|tƒrÂ|jdƒn|t|tƒrã|jdƒn|fƒqŒqŒWqNWt	|dt
ƒS|SdS(sü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.
        treadt__iter__sutf-8tdoseqN(t
isinstanceR%R&thasattrRR*tNoneR3tencodeR$tTrue(tdatatresulttktvstv((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyt_encode_paramsRs 	
!3c
Cs]|stdƒ‚nt|tƒr3tdƒ‚ng}t|pEiƒ}t|pWiƒ}xÌ|D]Ä\}}t|tƒst|dƒr›|g}nxŠ|D]‚}|dk	r¢t|tƒsÒt|ƒ}n|jt|tƒrö|j	dƒn|t|tƒr|j
dƒn|fƒq¢q¢WqdWx|D]
\}}d}d}	t|ttfƒrºt
|ƒdkr|\}
}qÒt
|ƒdkr¥|\}
}}qÒ|\}
}}}	nt|ƒpÉ|}
|}t|tttfƒró|}n|jƒ}td|d|d	|
d
|	ƒ}
|
jd|ƒ|j|
ƒq3Wt|ƒ\}}||fS(
s¥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).
        sFiles must be provided.sData must not be a string.R:sutf-8iitnameRAtfilenametheaderstcontent_typeN(t
ValueErrorR<R*RR=R>R&R%R3tdecodeR?ttupletlisttlenRt	bytearrayR9Rtmake_multipartR(tfilesRAt
new_fieldstfieldstfieldtvalRERCtfttfhtfntfptfdatatrftbodyRJ((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyt
_encode_filesmsH

!3	!(t__name__t
__module__tpropertyR8tstaticmethodRFR^(((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyR-<stRequestHooksMixincBseZd„Zd„ZRS(cCs||jkr"td|ƒ‚nt|tjƒrK|j|j|ƒn0t|dƒr{|j|jd„|DƒƒndS(sProperly register a hook.s1Unsupported event specified, with event name "%s"R:css'|]}t|tjƒr|VqdS(N(R<tcollectionstCallable(t.0th((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pys	<genexpr>´sN(thooksRKR<RdReR3R=textend(R6teventthook((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyt
register_hook«scCs5y|j|j|ƒtSWntk
r0tSXdS(siDeregister a previously registered hook.
        Returns True if the hook existed, False if not.
        N(RhtremoveR@RKtFalse(R6RjRk((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pytderegister_hook¶s

(R_R`RlRo(((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyRcªs	tRequestcBsGeZdZddddddddddd„
Zd„Zd„ZRS(sâ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 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: dictionary of URL parameters to append to the URL.
    :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', 'http://httpbin.org/get')
      >>> req.prepare()
      <PreparedRequest [GET]>
    c
Cs|dkrgn|}|dkr*gn|}|dkrBin|}|dkrZin|}|	dkrrin|	}	tƒ|_x6t|	jƒƒD]"\}}|jd|d|ƒq—W||_||_||_||_	||_
|
|_||_||_
||_dS(NRjRk(R>RRhRNtitemsRltmethodR1RIRRRAR+tparamstauthtcookies(
R6RrR1RIRRRARsRtRuRhR+RCRE((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyt__init__Ús"								cCsd|jS(Ns<Request [%s]>(Rr(R6((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyt__repr__óscCsqtƒ}|jd|jd|jd|jd|jd|jd|jd|jd|j	d	|j
d
|jƒ
|S(sXConstructs a :class:`PreparedRequest <PreparedRequest>` for transmission and returns it.RrR1RIRRRAR+RsRtRuRh(tPreparedRequesttprepareRrR1RIRRRAR+RsRtRuRh(R6R7((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyRyös											
N(R_R`t__doc__R>RvRwRy(((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyRpÂs
	RxcBs­eZdZd„Zddddddddddd„
Zd„Zd„Zd„Ze	d„ƒZ
d„Zd„Zdd	„Z
d
„Zdd„Zd
„Zd„ZRS(sÆ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', 'http://httpbin.org/get')
      >>> r = req.prepare()
      <PreparedRequest [GET]>

      >>> s = requests.Session()
      >>> s.send(r)
      <Response [200]>
    cCsFd|_d|_d|_d|_d|_tƒ|_d|_dS(N(	R>RrR1RIt_cookiesR]RRht_body_position(R6((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyRvs					cCsk|j|ƒ|j||ƒ|j|ƒ|j|ƒ|j|||
ƒ|j||ƒ|j|	ƒdS(s6Prepares the entire request with the given parameters.N(tprepare_methodtprepare_urltprepare_headerstprepare_cookiestprepare_bodytprepare_autht
prepare_hooks(R6RrR1RIRRRARsRtRuRhR+((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyRy+s


cCsd|jS(Ns<PreparedRequest [%s]>(Rr(R6((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyRw=scCs‚tƒ}|j|_|j|_|jdk	r?|jjƒnd|_t|jƒ|_|j|_|j	|_	|j
|_
|S(N(RxRrR1RIR>tcopyR
R{R]RhR|(R6R7((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyR„@s	'cCs7||_|jdk	r3t|jjƒƒ|_ndS(sPrepares the given HTTP method.N(RrR>Rtupper(R6Rr((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyR}Ks	cCsOddl}y"|j|dtƒjdƒ}Wn|jk
rJt‚nX|S(Niÿÿÿÿtuts46sutf-8(tidnaR?R@RLt	IDNAErrortUnicodeError(thostR‡((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyt_get_idna_encoded_hostQs"
c
Csÿt|tƒr!|jdƒ}ntr3t|ƒn	t|ƒ}|jƒ}d|krz|jƒjdƒrz||_	dSy%t
|ƒ\}}}}}}}	Wn"tk
rÃ}
t|
j
Œ‚nX|s÷d}|jt|dƒƒ}t|ƒ‚n|std|ƒ‚nt|ƒsRy|j|ƒ}Wqptk
rNtdƒ‚qpXn|jdƒrptdƒ‚n|pyd	}|r|d
7}n||7}|r¶|dt|ƒ7}n|sÅd}ntrst|tƒrì|jdƒ}nt|tƒr
|jdƒ}nt|tƒr.|jdƒ}nt|tƒrO|jdƒ}nt|	tƒrs|	jdƒ}	qsnt|ttfƒr—t|ƒ}n|j|ƒ}
|
rÎ|rÅd
||
f}qÎ|
}ntt|||d||	gƒƒ}||_	dS(sPrepares the given HTTP URL.tutf8t:thttpNsDInvalid URL {0!r}: No schema supplied. Perhaps you meant http://{0}?s Invalid URL %r: No host suppliedsURL has an invalid label.u*R0t@R.sutf-8s%s&%s(R<R&RLR'tunicodeR%tlstriptlowert
startswithR1RRRtargstformatRRRR‹R‰R?RFRR"R>(R6R1RstschemeRtRŠtportR2R4tfragmentteterrortnetloct
enc_params((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyR~[sh"	%


		$cCsYtƒ|_|rUx@|jƒD]/}t|ƒ|\}}||jt|ƒ<qWndS(s Prepares the given HTTP headers.N(R	RIRqR R(R6RItheaderRGtvalue((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyR±s
c	Csd
}d
}|rX|d
k	rXd}tj|ƒ}t|tƒsX|jdƒ}qXntt|dƒt|tt	t
tjfƒgƒ}yt
|ƒ}Wn tttfk
r¾d
}nX|r`|}t|dd
ƒd
k	ry|jƒ|_Wqttfk
rtƒ|_qXn|r4tdƒ‚n|rPt|ƒ|jd<qød|jd<n˜|r|j||ƒ\}}nE|rÆ|j|ƒ}t|tƒs´t|d	ƒr½d
}qÆd
}n|j|ƒ|rød|jkrø||jd<n||_d
S(s"Prepares the given HTTP body data.sapplication/jsonsutf-8R:ttells1Streamed bodies and files are mutually exclusive.sContent-LengthtchunkedsTransfer-EncodingR9s!application/x-www-form-urlencodedscontent-typesContent-TypeN(R>tcomplexjsontdumpsR<R&R?tallR=R*RNRMRdtMappingRt	TypeErrortAttributeErrorRtgetattrRŸR|tIOErrortOSErrortobjecttNotImplementedErrorR)RIR^RFtprepare_content_lengthR](R6RARRR+R]RJt	is_streamtlength((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyR¼sJ%
		
cCsr|dk	r7t|ƒ}|rnt|ƒ|jd<qnn7|jdkrn|jjdƒdkrnd|jd<ndS(s>Prepare Content-Length header based on request method and bodysContent-LengthtGETtHEADt0N(sGETsHEAD(R>RR)RIRrtget(R6R]R®((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyR¬s'R0cCs¢|dkr6t|jƒ}t|ƒr-|nd}n|ržt|tƒrlt|ƒdkrlt|Œ}n||ƒ}|jj	|jƒ|j
|jƒndS(s"Prepares the given HTTP auth data.iN(R>RR1tanyR<RMROR
t__dict__tupdateR¬R](R6RtR1turl_authtr((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyR‚s!cCs_t|tjƒr||_nt|ƒ|_t|j|ƒ}|dk	r[||jd<ndS(sPrepares 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.
        tCookieN(R<R!t	CookieJarR{RRR>RI(R6Rut
cookie_header((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyR€$scCs5|p	g}x"|D]}|j|||ƒqWdS(sPrepares the given hooks.N(Rl(R6RhRj((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyRƒ8s
N(R_R`RzRvR>RyRwR„R}RbR‹R~RRR¬R‚R€Rƒ(((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyRxs				
	V	E	
	tResponsec
Bs7eZdZddddddddd	d
g
Zd„Zd„Zd
„Zd„Zd„Zd„Z	d„Z
d„Zd„Ze
d„ƒZe
d„ƒZe
d„ƒZe
d„ƒZe
d„ƒZded„Zed"d"d„Ze
d„ƒZe
d„ƒZd„Ze
d„ƒZd „Zd!„ZRS(#shThe :class:`Response <Response>` object, which contains a
    server's response to an HTTP request.
    t_contenttstatus_codeRIR1thistorytencodingtreasonRutelapsedtrequestcCsžtt|ƒjƒt|_t|_d|_d|_t	ƒ|_
d|_d|_d|_
g|_d|_tiƒ|_tjdƒ|_d|_dS(Ni(tsuperR»RvRnR¼t_content_consumedR>t_nextR½R	RItrawR1R¿R¾RÀRRutdatetimet	timedeltaRÁRÂ(R6((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyRvLs									cCs|S(N((R6((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyt	__enter__}scGs|jƒdS(N(tclose(R6R”((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyt__exit__€scs0ˆjsˆjnt‡fd†ˆjDƒƒS(Nc3s'|]}|tˆ|dƒfVqdS(N(R§R>(Rftattr(R6(sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pys	<genexpr>Šs(RÄtcontenttdictt	__attrs__(R6((R6sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyt__getstate__ƒs
	
cCsQx*|jƒD]\}}t|||ƒq
Wt|dtƒt|ddƒdS(NRÄRÆ(RqtsetattrR@R>(R6tstateRGRž((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyt__setstate__ŽscCsd|jS(Ns<Response [%s]>(R½(R6((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyRw–scCs|jS(skReturns 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``.
        (tok(R6((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyt__bool__™scCs|jS(skReturns 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Ô(R6((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyt__nonzero__£scCs
|jdƒS(s,Allows you to use a response as an iterator.i€(titer_content(R6((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyR:­scCs'y|jƒWntk
r"tSXtS(skReturns 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``.
        (traise_for_statusRRnR@(R6((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyRÔ±s
	
cCsd|jko|jtkS(sšTrue if this Response is a well-formed HTTP redirect that could have
        been processed automatically (by :meth:`Session.resolve_redirects`).
        tlocation(RIR½tREDIRECT_STATI(R6((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pytis_redirectÀscCs(d|jko'|jtjtjfkS(s@True if this Response one of the permanent versions of redirect.RÙ(RIR½R,tmoved_permanentlytpermanent_redirect(R6((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pytis_permanent_redirectÇscCs|jS(sTReturns a PreparedRequest for the next request in a redirect chain, if there is one.(RÅ(R6((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pytnextÌscCstj|jƒdS(s7The apparent encoding, provided by the chardet library.R¿(R(tdetectRÍ(R6((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pytapparent_encodingÑsicsº‡‡fd†}ˆjr9tˆjtƒr9tƒ‚n5ˆdk	rntˆtƒrntdtˆƒƒ‚nt	ˆjˆƒ}|ƒ}ˆjr˜|n|}|r¶t
|ˆƒ}n|S(sø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.
        c3sÚtˆjdƒrŸy,x%ˆjjˆdtƒD]}|Vq.WWqÍtk
r_}t|ƒ‚qÍtk
r}}t|ƒ‚qÍtk
r›}t	|ƒ‚qÍXn.x+tr̈jj
ˆƒ}|sÄPn|Vq¢Wtˆ_dS(Ntstreamtdecode_content(R=RÆRâR@RRRRRRR9RÄ(tchunkR™(t
chunk_sizeR6(sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pytgenerateçs 
		s.chunk_size must be an int, it is instead a %s.N(RÄR<R¼tboolRR>tintR¥ttypeRR(R6Råtdecode_unicodeRæt
reused_chunkst
stream_chunkstchunks((RåR6sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyR×Ös	ccs×d}x¶|jd|d|ƒD]œ}|dk	r>||}n|rV|j|ƒ}n|jƒ}|rŸ|drŸ|rŸ|dd|dkrŸ|jƒ}nd}x|D]}|Vq¬WqW|dk	rÓ|VndS(sõ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.
        RåRêiÿÿÿÿN(R>R×tsplitt
splitlinestpop(R6RåRêt	delimitertpendingRätlinestline((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyt
iter_lines
s
.

cCs‹|jtkr{|jr'tdƒ‚n|jdksE|jdkrQd|_q{tƒj|j	t
ƒƒprtƒ|_nt|_|jS(s"Content of the response, in bytes.s2The content for this response was already consumediN(R¼RnRÄtRuntimeErrorR½RÆR>R&R5R×tCONTENT_CHUNK_SIZER@(R6((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyRÍ,s	*	cCsŒd}|j}|js"tdƒS|jdkr=|j}nyt|j|ddƒ}Wn,ttfk
r‡t|jddƒ}nX|S(sÀ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.
        R0terrorstreplaceN(R>R¿RÍR%RátLookupErrorR¥(R6RÍR¿((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyttext@s		
cKs|jr}|jr}t|jƒdkr}t|jƒ}|dk	r}y tj|jj|ƒ|SWqztk
rvqzXq}ntj|j	|S(sØ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.
        iN(
R¿RÍRORR>R¡tloadsRLtUnicodeDecodeErrorRû(R6tkwargsR¿((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyR+fs(

cCsj|jjdƒ}i}|rft|ƒ}x9|D].}|jdƒpR|jdƒ}|||<q1Wn|S(s8Returns the parsed header links of the response, if any.tlinktrelR1(RIR²R(R6RtltlinksRÿtkey((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyR€s
cCsõd}t|jtƒrWy|jjdƒ}Wq`tk
rS|jjdƒ}q`Xn	|j}d|jkozdknr›d|j||jf}n;d|jkoµdknrÖd|j||jf}n|rñt|d	|ƒ‚nd
S(s2Raises stored :class:`HTTPError`, if one occurred.R0sutf-8s
iso-8859-1iiôu%s Client Error: %s for url: %siXu%s Server Error: %s for url: %stresponseN(R<RÀR&RLRýR½R1R(R6thttp_error_msgRÀ((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyRؒs
	cCsH|js|jjƒnt|jddƒ}|dk	rD|ƒndS(sØ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.*
        trelease_connN(RÄRÆRÊR§R>(R6R((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyRÊ«s
	N(R_R`RzRÏRvRÉRËRÐRÓRwRÕRÖR:RaRÔRÛRÞRßRáRnR×tITER_CHUNK_SIZER>RõRÍRûR+RRØRÊ(((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyR»Bs2	1						
	
	7&		(QRzRdRÇtsystencodings.idnat	encodingsturllib3.fieldsRturllib3.filepostRturllib3.utilRturllib3.exceptionsRRRRtioRRhRt
structuresR	RtR
RuRRR
t
exceptionsRRRRRRRt_internal_utilsRRtutilsRRRRRRRRRR tcompatR!R"R#R$R%R&R'R(R)R*R+R¡tstatus_codesR,tmovedtfoundtotherttemporary_redirectRÝRÚtDEFAULT_REDIRECT_LIMITR÷RRªR-RcRpRxR»(((sD/home/tvault/.virtenv/lib/python2.7/site-packages/requests/models.pyt<module>sB"4FF
nFÿ;