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ÕdZddlZddlZddlmZd?Zdejfd!„ƒYZdefd"„ƒYZdefd#„ƒYZ	defd$„ƒYZ
defd%„ƒYZdefd&„ƒYZd	efd'„ƒYZ
d
efd(„ƒYZdefd)„ƒYZdefd*„ƒYZd
efd+„ƒYZdefd,„ƒYZdefd-„ƒYZdefd.„ƒYZdefd/„ƒYZdefd0„ƒYZdefd1„ƒYZdefd2„ƒYZdefd3„ƒYZdefd4„ƒYZdefd5„ƒYZdefd6„ƒYZde	fd7„ƒYZde	fd8„ƒYZde	fd9„ƒYZde	fd:„ƒYZ de	fd;„ƒYZ!de	fd<„ƒYZ"e#d=„e$ej%e&ƒj'ƒDƒƒZ(d>„Z)dS(@s&HTTP Exceptions used by keystoneauth1.iÿÿÿÿN(tbaset	HttpErrortHTTPClientErrort
BadRequesttUnauthorizedtPaymentRequiredt	ForbiddentNotFoundtMethodNotAllowedt
NotAcceptabletProxyAuthenticationRequiredtRequestTimeouttConflicttGonetLengthRequiredtPreconditionFailedtRequestEntityTooLargetRequestUriTooLongtUnsupportedMediaTypetRequestedRangeNotSatisfiabletExpectationFailedtUnprocessableEntitytHttpServerErrortInternalServerErrortHttpNotImplementedt
BadGatewaytServiceUnavailabletGatewayTimeouttHttpVersionNotSupportedt
from_responsec	Bs;eZdZdZdZddddddddd„ZRS(s1The base exception class for all HTTP exceptions.is
HTTP Errorc	
Cs¡|p|j|_|p|j|_||_||_||_||_||_d|j|jf}	||_|r‡|	d|7}	ntt	|ƒj
|	ƒdS(Ns%s (HTTP %s)s (Request-ID: %s)(thttp_statustmessagetdetailst
request_idtresponseturltmethodtretry_aftertsuperRt__init__(
tselfRR R"R!R#R$RR%tformatted_string((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyR'Cs						N(t__name__t
__module__t__doc__RRtNoneR'(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyR=s	cBseZdZdZRS(s^Client-side HTTP error.

    Exception for cases in which the client seems to have erred.
    sHTTP Client Error(R*R+R,R(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyRUscBseZdZdZRS(s“Server-side HTTP error.

    Exception for cases in which the server is aware that it has
    erred or is incapable of performing the request.
    sHTTP Server Error(R*R+R,R(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyR^scBseZdZdZdZRS(sTHTTP 400 - Bad Request.

    The request cannot be fulfilled due to bad syntax.
    isBad Request(R*R+R,RR(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyRhscBseZdZdZdZRS(s¦HTTP 401 - Unauthorized.

    Similar to 403 Forbidden, but specifically for use when authentication
    is required and has failed or has not yet been provided.
    i‘R(R*R+R,RR(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyRrscBseZdZdZdZRS(s?HTTP 402 - Payment Required.

    Reserved for future use.
    i’sPayment Required(R*R+R,RR(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyR}scBseZdZdZdZRS(sqHTTP 403 - Forbidden.

    The request was a valid request, but the server is refusing to respond
    to it.
    i“R(R*R+R,RR(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyR‡scBseZdZdZdZRS(swHTTP 404 - Not Found.

    The requested resource could not be found but may be available again
    in the future.
    i”s	Not Found(R*R+R,RR(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyR’scBseZdZdZdZRS(s„HTTP 405 - Method Not Allowed.

    A request was made of a resource using a request method not supported
    by that resource.
    i•sMethod Not Allowed(R*R+R,RR(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyRscBseZdZdZdZRS(s©HTTP 406 - Not Acceptable.

    The requested resource is only capable of generating content not
    acceptable according to the Accept headers sent in the request.
    i–sNot Acceptable(R*R+R,RR(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyR	¨scBseZdZdZdZRS(smHTTP 407 - Proxy Authentication Required.

    The client must first authenticate itself with the proxy.
    i—sProxy Authentication Required(R*R+R,RR(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyR
³scBseZdZdZdZRS(sSHTTP 408 - Request Timeout.

    The server timed out waiting for the request.
    i˜sRequest Timeout(R*R+R,RR(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyR½scBseZdZdZdZRS(s’HTTP 409 - Conflict.

    Indicates that the request could not be processed because of conflict
    in the request, such as an edit conflict.
    i™R(R*R+R,RR(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyRÇscBseZdZdZdZRS(s|HTTP 410 - Gone.

    Indicates that the resource requested is no longer available and will
    not be available again.
    išR
(R*R+R,RR(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyR
ÒscBseZdZdZdZRS(sHTTP 411 - Length Required.

    The request did not specify the length of its content, which is
    required by the requested resource.
    i›sLength Required(R*R+R,RR(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyRÝscBseZdZdZdZRS(s†HTTP 412 - Precondition Failed.

    The server does not meet one of the preconditions that the requester
    put on the request.
    iœsPrecondition Failed(R*R+R,RR(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyRèscBs#eZdZdZdZd„ZRS(ssHTTP 413 - Request Entity Too Large.

    The request is larger than the server is willing or able to process.
    isRequest Entity Too LargecOs\yt|jdƒƒ|_Wn ttfk
r>d|_nXtt|ƒj||ŽdS(NR%i(tinttpopR%tKeyErrort
ValueErrorR&RR'(R(targstkwargs((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyR'üs

(R*R+R,RRR'(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyRóscBseZdZdZdZRS(scHTTP 414 - Request-URI Too Long.

    The URI provided was too long for the server to process.
    ižsRequest-URI Too Long(R*R+R,RR(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyRscBseZdZdZdZRS(sƒHTTP 415 - Unsupported Media Type.

    The request entity has a media type which the server or resource does
    not support.
    iŸsUnsupported Media Type(R*R+R,RR(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyRscBseZdZdZdZRS(s”HTTP 416 - Requested Range Not Satisfiable.

    The client has asked for a portion of the file, but the server cannot
    supply that portion.
    i sRequested Range Not Satisfiable(R*R+R,RR(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyRscBseZdZdZdZRS(stHTTP 417 - Expectation Failed.

    The server cannot meet the requirements of the Expect request-header field.
    i¡sExpectation Failed(R*R+R,RR(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyR%scBseZdZdZdZRS(s€HTTP 422 - Unprocessable Entity.

    The request was well-formed but was unable to be followed due to semantic
    errors.
    i¦sUnprocessable Entity(R*R+R,RR(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyR/scBseZdZdZdZRS(suHTTP 500 - Internal Server Error.

    A generic error message, given when no more specific message is suitable.
    iôsInternal Server Error(R*R+R,RR(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyR:scBseZdZdZdZRS(s’HTTP 501 - Not Implemented.

    The server either does not recognize the request method, or it lacks
    the ability to fulfill the request.
    iõsNot Implemented(R*R+R,RR(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyREscBseZdZdZdZRS(sŒHTTP 502 - Bad Gateway.

    The server was acting as a gateway or proxy and received an invalid
    response from the upstream server.
    iösBad Gateway(R*R+R,RR(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyRPscBseZdZdZdZRS(sNHTTP 503 - Service Unavailable.

    The server is currently unavailable.
    i÷sService Unavailable(R*R+R,RR(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyR[scBseZdZdZdZRS(s•HTTP 504 - Gateway Timeout.

    The server was acting as a gateway or proxy and did not receive a timely
    response from the upstream server.
    iøsGateway Timeout(R*R+R,RR(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyRescBseZdZdZdZRS(szHTTP 505 - HttpVersion Not Supported.

    The server does not support the HTTP protocol version used in the request.
    iùsHTTP Version Not Supported(R*R+R,RR(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyRpsccsN|]D\}}tj|ƒrt|dtƒrt|ddƒ|fVqdS(RN(tinspecttisclasstgetattrtFalseR-(t.0tnametobj((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pys	<genexpr>|s	c	Csª|jjdƒ}i|jd6|d6|d6|d6|d6}d|jkra|jd|d<n|jjd	d
ƒ}|jdƒry|jƒ}Wntk
r¨q%Xt|tƒr%t|jdƒtƒr%|d}|jd
ƒ|d
<|jdƒ|d<q%n|jdƒr%|j|d<nyt	|j}Wngt
k
rŸd|jko`dknrnt}q d|jkoˆdknr–t}q t
}nX||S(sÝReturn an instance of :class:`HttpError` or subclass based on response.

    :param response: instance of `requests.Response` class
    :param method: HTTP method used for request
    :param url: URL used for request
    sx-openstack-request-idRR"R$R#R!sretry-afterR%sContent-Typetsapplication/jsonterrorRR stext/iôiXi(theaderstgettstatus_codet
startswithtjsonR1t
isinstancetdictttextt	_code_mapR0RRR(	R"R$R#treq_idR3tcontent_typetbodyR<tcls((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyR‚s<


'

		
(s	HttpErrorsHTTPClientErrors
BadRequestsUnauthorizedsPaymentRequireds	ForbiddensNotFoundsMethodNotAlloweds
NotAcceptablesProxyAuthenticationRequiredsRequestTimeoutsConflictsGonesLengthRequiredsPreconditionFailedsRequestEntityTooLargesRequestUriTooLongsUnsupportedMediaTypesRequestedRangeNotSatisfiablesExpectationFailedsUnprocessableEntitysHttpServerErrorsInternalServerErrorsHttpNotImplementeds
BadGatewaysServiceUnavailablesGatewayTimeoutsHttpVersionNotSupporteds
from_response(*R,R4tsystkeystoneauth1.exceptionsRt__all__tClientExceptionRRRRRRRRRR	R
RRR
RRRRRRRRRRRRRRRCtvarstmodulesR*titemsRER(((sR/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/exceptions/http.pyt<module>s€