CubicWeb web client core. You’ll need a apache-modpython or twisted publisher to get a full CubicWeb web application


exception cubicweb_web.DirectResponse(response)[source]#

Used to supply a twitted HTTP Response directly

exception cubicweb_web.InvalidSession[source]#

raised when a session id is found but associated session is not found or invalid

exception cubicweb_web.PublishException(*args, **kwargs)[source]#

base class for publishing related exception

exception cubicweb_web.LogOut(url=None)[source]#

raised to ask for deauthentication of a logged in user

exception cubicweb_web.Redirect(location, status=HTTPStatus.SEE_OTHER)[source]#

raised to redirect the http request

exception cubicweb_web.StatusResponse(status, content='')[source]#
exception cubicweb_web.RequestError(*args, **kwargs)[source]#

raised when a request can’t be served because of a bad input

exception cubicweb_web.NothingToEdit(*args, **kwargs)[source]#

raised when an edit request doesn’t specify any eid to edit

exception cubicweb_web.ProcessFormError(*args, **kwargs)[source]#

raised when posted data can’t be processed by the corresponding field

exception cubicweb_web.NotFound(*args, **kwargs)[source]#

raised when something was not found. In most case, a 404 error should be returned

exception cubicweb_web.RemoteCallFailed(reason='', status=HTTPStatus.INTERNAL_SERVER_ERROR)[source]#

raised when a json remote call fails