cubicweb.web¶
CubicWeb web client core. You’ll need a apache-modpython or twisted publisher to get a full CubicWeb web application
Exceptions¶
-
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: 303>)[source]¶ raised to redirect the http request
-
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