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    
contego / home / tvault / .virtenv / lib / python2.7 / site-packages / paste / httpexceptions.pyc
Size: Mime:
ó
ª‹EYc@s™dZddlZddlmZddlmZmZmZddlm	Z	ddl
mZmZm
Z
mZdZdZd	efd
„ƒYZdefd„ƒYZd
efd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd „ƒYZd!efd"„ƒYZd#efd$„ƒYZd%efd&„ƒYZ d'efd(„ƒYZ!d)efd*„ƒYZ"d+efd,„ƒYZ#d-efd.„ƒYZ$d/efd0„ƒYZ%d1efd2„ƒYZ&d3efd4„ƒYZ'd5efd6„ƒYZ(d7efd8„ƒYZ)d9efd:„ƒYZ*d;efd<„ƒYZ+d=efd>„ƒYZ,d?efd@„ƒYZ-dAefdB„ƒYZ.dCefdD„ƒYZ/dEefdF„ƒYZ0dGefdH„ƒYZ1dIe1fdJ„ƒYZ2dKe1fdL„ƒYZ3dMe1fdN„ƒYZ4dOe1fdP„ƒYZ5dQe1fdR„ƒYZ6dSe1fdT„ƒYZ7d	d
dgZ8iZ9xsej:e;e<ƒƒƒD]Y\Z=Z>e?e>e@ejAfƒrîeBe>eƒrîe>jCrîe>e9e>jC<e8jDe=ƒqîqîWdU„ZEdVeFfdW„ƒYZGdX„ZHdddY„ZJe8jKdVdZgƒdS([só	
HTTP Exception Middleware

This module processes Python exceptions that relate to HTTP exceptions
by defining a set of exceptions, all subclasses of HTTPException, and a
request handler (`middleware`) that catches these exceptions and turns
them into proper responses.

This module defines exceptions according to RFC 2068 [1]_ : codes with
100-300 are not really errors; 400's are client errors, and 500's are
server errors.  According to the WSGI specification [2]_ , the application
can call ``start_response`` more then once only under two conditions:
(a) the response has not yet been sent, or (b) if the second and
subsequent invocations of ``start_response`` have a valid ``exc_info``
argument obtained from ``sys.exc_info()``.  The WSGI specification then
requires the server or gateway to handle the case where content has been
sent and then an exception was encountered.

Exceptions in the 5xx range and those raised after ``start_response``
has been called are treated as serious errors and the ``exc_info`` is
filled-in with information needed for a lower level module to generate a
stack trace and log information.

Exception
  HTTPException
    HTTPRedirection
      * 300 - HTTPMultipleChoices
      * 301 - HTTPMovedPermanently
      * 302 - HTTPFound
      * 303 - HTTPSeeOther
      * 304 - HTTPNotModified
      * 305 - HTTPUseProxy
      * 306 - Unused (not implemented, obviously)
      * 307 - HTTPTemporaryRedirect
    HTTPError
      HTTPClientError
        * 400 - HTTPBadRequest
        * 401 - HTTPUnauthorized
        * 402 - HTTPPaymentRequired
        * 403 - HTTPForbidden
        * 404 - HTTPNotFound
        * 405 - HTTPMethodNotAllowed
        * 406 - HTTPNotAcceptable
        * 407 - HTTPProxyAuthenticationRequired
        * 408 - HTTPRequestTimeout
        * 409 - HTTPConfict
        * 410 - HTTPGone
        * 411 - HTTPLengthRequired
        * 412 - HTTPPreconditionFailed
        * 413 - HTTPRequestEntityTooLarge
        * 414 - HTTPRequestURITooLong
        * 415 - HTTPUnsupportedMediaType
        * 416 - HTTPRequestRangeNotSatisfiable
        * 417 - HTTPExpectationFailed
        * 429 - HTTPTooManyRequests
      HTTPServerError
        * 500 - HTTPInternalServerError
        * 501 - HTTPNotImplemented
        * 502 - HTTPBadGateway
        * 503 - HTTPServiceUnavailable
        * 504 - HTTPGatewayTimeout
        * 505 - HTTPVersionNotSupported

References:

.. [1] http://www.python.org/peps/pep-0333.html#error-handling
.. [2] http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5

iÿÿÿÿN(tcatch_errors_app(t
has_headertheader_valuetreplace_header(tresolve_relative_url(t
strip_htmlt
html_quotetno_quotet
comment_quotesWSGI Servers·<html>
  <head><title>%(title)s</title></head>
  <body>
    <h1>%(title)s</h1>
    <p>%(body)s</p>
    <hr noshade>
    <div align="right">%(server)s</div>
  </body>
</html>
t
HTTPExceptioncBs•eZdZdZdZdZdZdZdZ	dZ
dddd„Zdd„Zd„Z
d„Zd„Zd„Zdd	„ZeZd
„ZRS(
sé	
    the HTTP exception base class

    This encapsulates an HTTP response that interrupts normal application
    flow; but one which is not necessarly an error condition. For
    example, codes in the 300's are exceptions in that they interrupt
    normal processing; however, they are not considered errors.

    This class is complicated by 4 factors:

      1. The content given to the exception may either be plain-text or
         as html-text.

      2. The template may want to have string-substitutions taken from
         the current ``environ`` or values from incoming headers. This
         is especially troublesome due to case sensitivity.

      3. The final output may either be text/plain or text/html
         mime-type as requested by the client application.

      4. Each exception has a default explanation, but those who
         raise exceptions may want to provide additional detail.

    Attributes:

       ``code``
           the HTTP status code for the exception

       ``title``
           remainder of the status line (stuff after the code)

       ``explanation``
           a plain-text explanation of the error message that is
           not subject to environment or header substitutions;
           it is accessible in the template via %(explanation)s

       ``detail``
           a plain-text message customization that is not subject
           to environment or header substitutions; accessible in
           the template via %(detail)s

       ``template``
           a content fragment (in HTML) used for environment and
           header substitution; the default template includes both
           the explanation and further detail provided in the
           message

       ``required_headers``
           a sequence of headers which are required for proper
           construction of the exception

    Parameters:

       ``detail``
         a plain-text override of the default ``detail``

       ``headers``
         a list of (k,v) header pairs

       ``comment``
         a plain-text additional information which is
         usually stripped/hidden for end-users

    To override the template (which is HTML content) or the plain-text
    explanation, one must subclass the given exception; or customize it
    after it has been created.  This particular breakdown of a message
    into explanation, detail and template allows both the creation of
    plain-text and html messages for various clients as well as
    error-free substitution of environment variables and headers.
    ts6%(explanation)s
<br/>%(detail)s
<!-- %(comment)s -->cCsb|jstdƒ‚t|tdƒtfƒs@td|ƒ‚t|tdƒtjtjfƒsttd|ƒ‚t|tdƒtjtjfƒs¨td|ƒ‚|p´t	ƒ|_
xE|jD]:}|rßt||ƒsÄtd|j
j||fƒ‚qÄW|dk	r||_n|dk	r2||_ntj|d|j|j|j|jfƒdS(Ns0Do not directly instantiate abstract exceptions.s"headers must be None or a list: %rs#detail must be None or a string: %rs$comment must be None or a string: %rs;Exception %s must be passed the header %r (got headers: %r)s%s %s
%s
%s
(tcodetAssertionErrort
isinstancettypetNonetlisttsixtbinary_typet	text_typettupletheaderstrequired_headersRt	__class__t__name__tdetailtcommentt	Exceptiont__init__ttitletexplanation(tselfRRRtreq((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyR°s&
'
'
c
Cs|p	|}i||jƒd6||jƒd6||jƒd6}tj|jkrÀx*|jƒD]\}}||ƒ||<qaW|jrÀx0|jD]"\}}||ƒ||jƒ<q”WqÀntj	rxH|jƒD]7\}}	t
|	tjƒrÖ|	jddƒ||<qÖqÖWn||S(NRRRtutf8txmlcharrefreplace(
RRRR	ttemplatetitemsRtlowerRtPY2R
Rtencode(
RtenvironR#tescfunctcomment_escfunctargstktvtkeytvalue((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyt	make_bodyÆs	 	 cCs8|j|t|jƒttƒ}d|j|j|fS(s, text/plain representation of the exception s%s %s
%s
(R0RR#RRRR(RR(tbody((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pytplain×s!cCsE|j||jttƒ}ti|jd6|jd6td6|d6S(s+ text/html representation of the exception RRtserverR1(R0R#RRtTEMPLATERRtSERVER_NAME(RR(R1((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pythtmlÜs

cCsé|jrt|jƒ}ng}d|jddƒksQd|jddƒkrst|ddƒ|j|ƒ}nt|ddƒ|j|ƒ}t|tjƒrß|j	dƒ}t
|dƒpÅd}t|d|d	ƒn||fS(
NR6tHTTP_ACCEPTR
s*/*scontent-types	text/htmls
text/plainR!s; charset=utf8(RRtgetRR6R2R
RRR'R(RR(Rtcontenttcur_content_type((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pytprepare_contentås"	cCsVddlm}|j|ƒ\}}|d|jd|ƒ}|jj|ƒ|_|S(Niÿÿÿÿ(tWSGIResponseRR9(tpaste.wsgiwrappersR<R;RRtfromlist(RR(R<RR9tresp((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pytresponseûs
cCs<|j|ƒ\}}|d|j|jf||ƒ|gS(s6
        This exception as a WSGI application
        s%s %s(R;RR(RR(tstart_responsetexc_infoRR9((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pytwsgi_applications
cCsd|jj|j|jfS(Ns<%s %s; code=%s>(RRRR(R((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyt__repr__sN((Rt
__module__t__doc__RRRRRRR#RRR0R2R6R;R@RCt__call__RD(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyR	`s"F					
t	HTTPErrorcBseZdZRS(sö
    base class for status codes in the 400's and 500's

    This is an exception which indicates that an error has occurred,
    and that any work in progress should not be committed.  These are
    typically results in the 400's and 500's.
    (RRERF(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRHstHTTPRedirectioncBseZdZRS(s
    base class for 300's status code (redirections)

    This is an abstract base class for 3xx redirection.  It indicates
    that further action needs to be taken by the user agent in order
    to fulfill the request.  It does not necessarly signal an error
    condition.
    (RRERF(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRI&st	_HTTPMovecBsYeZdZdZdZdZdddd„Zdddd„Ze	eƒZd„Z
RS(	sÂ
    redirections which require a Location field

    Since a 'Location' header is a required attribute of 301, 302, 303,
    305 and 307 (but not 304), this base class provides the mechanics to
    make this easy.  While this has the same parameters as HTTPException,
    if a location is not provided in the headers; it is assumed that the
    detail _is_ the location (this for backward compatibility, otherwise
    we'd add a new attribute).
    tlocationsThe resource has been moved tosƒ%(explanation)s <a href="%(location)s">%(location)s</a>;
you should be redirected automatically.
%(detail)s
<!-- %(comment)s -->cCs¨t|tdƒtfƒs!t‚|p*g}t|dƒ}|sd|}d}|jd|fƒn|svtdƒ‚tj||||ƒ|dk	r¤||_	ndS(NRKR
saHTTPRedirection specified neither a location in the headers nor did it provide a detail argument.(
R
RRRRRtappendRIRR(RRRRRK((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRBs!cCsGt||ƒ}|pg}|jd|fƒ|d|d|d|ƒS(s
        Create a redirect object with the dest_uri, which may be relative,
        considering it relative to the uri implied by the given environ.
        tLocationRRR(RRL(tclstdest_uriR(RRRRK((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pytrelative_redirectQscCsDx=|jD]"\}}|jƒdkr
|Sq
Wtd|ƒ‚dS(NRKsNo location set for %s(RR%tKeyError(RtnameR/((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRK]s(slocationN(RRERFRRR#RRRPtclassmethodRK(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRJ0s

tHTTPMultipleChoicescBseZdZdZRS(i,sMultiple Choices(RRERR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRTdstHTTPMovedPermanentlycBseZdZdZRS(i-sMoved Permanently(RRERR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRUhst	HTTPFoundcBseZdZdZdZRS(i.tFoundsThe resource was found at(RRERRR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRVlstHTTPSeeOthercBseZdZdZRS(i/s	See Other(RRERR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRXsstHTTPNotModifiedcBs,eZdZdZdZd„Zd„ZRS(i0sNot ModifiedR
cCsdS(NR
((RR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyR2€scCsdS(s+ text/html representation of the exception R
((RR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyR6‚s(RRERRtmessageR2R6(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRYws
	tHTTPUseProxycBseZdZdZdZRS(i1s	Use Proxys8The resource must be accessed through a proxy located at(RRERRR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyR[†stHTTPTemporaryRedirectcBseZdZdZRS(i3sTemporary Redirect(RRERR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyR\ŽstHTTPClientErrorcBs eZdZdZdZdZRS(s8
    base class for the 400's, where the client is in-error

    This is an error condition in which the client is presumed to be
    in-error.  This is an expected problem, and thus is not considered
    a bug.  A server-side traceback is not warranted.  Unless specialized,
    this is a '400 Bad Request'
    isBad RequestsdThe server could not comply with the request since
it is either malformed or otherwise incorrect.
(RRERFRRR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyR]stHTTPBadRequestcBseZRS((RRE(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyR^«stHTTPUnauthorizedcBseZdZdZdZRS(i‘tUnauthorizedsìThis server could not verify that you are authorized to
access the document you requested.  Either you supplied the
wrong credentials (e.g., bad password), or your browser
does not understand how to supply the credentials required.
(RRERRR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyR_®stHTTPPaymentRequiredcBseZdZdZdZRS(i’sPayment Requireds(Access was denied for financial reasons.(RRERRR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRa·st
HTTPForbiddencBseZdZdZdZRS(i“t	Forbiddens#Access was denied to this resource.(RRERRR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRb¼stHTTPNotFoundcBseZdZdZdZRS(i”s	Not Founds The resource could not be found.(RRERRR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRdÁstHTTPMethodNotAllowedcBs eZdZdZdZdZRS(tallowi•sMethod Not AllowedsKThe method %(REQUEST_METHOD)s is not allowed for this resource.
%(detail)s(sallow(RRERRRR#(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyReÆstHTTPNotAcceptablecBseZdZdZdZRS(i–sNot AcceptableswThe resource could not be generated that was acceptable to your browser (content
of type %(HTTP_ACCEPT)s).
%(detail)s(RRERRR#(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRgÎstHTTPProxyAuthenticationRequiredcBseZdZdZdZRS(i—sProxy Authentication Requireds*Authentication /w a local proxy is needed.(RRERRR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRhÖstHTTPRequestTimeoutcBseZdZdZdZRS(i˜sRequest TimeoutsHThe server has waited too long for the request to be sent by the client.(RRERRR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRiÛstHTTPConflictcBseZdZdZdZRS(i™tConflicts:There was a conflict when trying to complete your request.(RRERRR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRjástHTTPGonecBseZdZdZdZRS(ištGonesFThis resource is no longer available.  No forwarding address is given.(RRERRR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRlçstHTTPLengthRequiredcBseZdZdZdZRS(i›sLength RequiredsContent-Length header required.(RRERRR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRnístHTTPPreconditionFailedcBseZdZdZdZRS(iœsPrecondition FailedsRequest precondition failed.(RRERRR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRoòstHTTPRequestEntityTooLargecBseZdZdZdZRS(isRequest Entity Too Larges7The body of your request was too large for this server.(RRERRR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRp÷stHTTPRequestURITooLongcBseZdZdZdZRS(ižsRequest-URI Too Longs-The request URI was too long for this server.(RRERRR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRqüstHTTPUnsupportedMediaTypecBseZdZdZdZRS(iŸsUnsupported Media TypesTThe request media type %(CONTENT_TYPE)s is not supported by this server.
%(detail)s(RRERRR#(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRrstHTTPRequestRangeNotSatisfiablecBseZdZdZdZRS(i sRequest Range Not Satisfiables%The Range requested is not available.(RRERRR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRsstHTTPExpectationFailedcBseZdZdZdZRS(i¡sExpectation FailedsExpectation failed.(RRERRR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRt
stHTTPTooManyRequestscBseZdZdZdZRS(i­sToo Many Requestss4The client has sent too many requests to the server.(RRERRR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRustHTTPServerErrorcBs eZdZdZdZdZRS(sF
    base class for the 500's, where the server is in-error

    This is an error condition in which the server is presumed to be
    in-error.  This is usually unexpected, and thus requires a traceback;
    ideally, opening a support ticket for the customer. Unless specialized,
    this is a '500 Internal Server Error'
    iôsInternal Server ErrorsUThe server has either erred or is incapable of performing
the requested operation.
(RRERFRRR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRv#stHTTPInternalServerErrorcBseZRS((RRE(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRw2stHTTPNotImplementedcBseZdZdZdZRS(iõsNot ImplementedsUThe request method %(REQUEST_METHOD)s is not implemented for this server.
%(detail)s(RRERRR#(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRx5stHTTPBadGatewaycBseZdZdZdZRS(iösBad GatewaysBad gateway.(RRERRR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRy<stHTTPServiceUnavailablecBseZdZdZdZRS(i÷sService UnavailablesFThe server is currently unavailable. Please try again at a later time.(RRERRR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRzAstHTTPGatewayTimeoutcBseZdZdZdZRS(iøsGateway TimeoutsThe gateway has timed out.(RRERRR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyR{GstHTTPVersionNotSupportedcBseZdZdZdZRS(iùsHTTP Version Not Supporteds"The HTTP version is not supported.(RRERRR(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyR|LscCst|S(N(t_exceptions(R((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyt
get_exception\stHTTPExceptionHandlercBs#eZdZdd„Zd„ZRS(s
    catches exceptions and turns them into proper HTTP responses

    This middleware catches any exceptions (which are subclasses of
    ``HTTPException``) and turns them into proper HTTP responses.
    Note if the headers have already been sent, the stack trace is
    always maintained as this indicates a programming error.

    Note that you must raise the exception before returning the
    app_iter, and you cannot use this with generator apps that don't
    raise an exception until after their app_iter is iterated over.
    cCso|s%|dkr|dks%t‚|dk	rSddl}|jdtdƒn|p\d|_||_dS(NiciXiÿÿÿÿs4The warning_level parameter is not used or supportediiô(RRtwarningstwarntDeprecationWarningt
warning_leveltapplication(RR„RƒR€((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRqs	
cCs[||d<|jdgƒjtƒy|j||ƒSWntk
rV}|||ƒSXdS(Nspaste.httpexceptionsspaste.expected_exceptions(t
setdefaultRLR	R„(RR(RAtexc((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRG{s
	N(RRERFRRRG(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyRcs
cOs,ddl}|jdtdƒt||ŽS(Niÿÿÿÿs\httpexceptions.middleware is deprecated; use make_middleware or HTTPExceptionHandler insteadi(R€RR‚tmake_middleware(R+tkwR€((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyt
middleware„s	
cCs%|rt|ƒ}nt|d|ƒS(s¤
    ``httpexceptions`` middleware; this catches any
    ``paste.httpexceptions.HTTPException`` exceptions (exceptions like
    ``HTTPNotFound``, ``HTTPMovedPermanently``, etc) and turns them
    into proper HTTP responses.

    ``warning_level`` can be an integer corresponding to an HTTP code.
    Any code over that value will be passed 'up' the chain, potentially
    reported on by another piece of middleware.
    Rƒ(tintR(tapptglobal_confRƒ((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyR‡ŒsR~(LRFRt
paste.wsgilibRtpaste.responseRRRt
paste.requestRtpaste.util.quotingRRRRR5R4RR	RHRIRJRTRURVRXRYR[R\R]R^R_RaRbRdReRgRhRiRjRlRnRoRpRqRrRsRtRuRvRwRxRyRzR{R|t__all__R}t	iteritemstdicttglobalsRRR/R
Rtclass_typest
issubclassRRLR~tobjectRR‰RR‡textend(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/paste/httpexceptions.pyt<module>Kst"²
4	%	
	!