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)

Used to supply a twitted HTTP Response directly

exception cubicweb.web.InvalidSession

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

exception cubicweb.web.PublishException(*args, **kwargs)

base class for publishing related exception

exception cubicweb.web.LogOut(url=None)

raised to ask for deauthentication of a logged in user

exception cubicweb.web.Redirect(location, status=303)

raised to redirect the http request

exception cubicweb.web.StatusResponse(status, content='')
exception cubicweb.web.RequestError(*args, **kwargs)

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

exception cubicweb.web.NothingToEdit(*args, **kwargs)

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

exception cubicweb.web.ProcessFormError(*args, **kwargs)

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

exception cubicweb.web.NotFound(*args, **kwargs)

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

exception cubicweb.web.RemoteCallFailed(reason='', status=500)

raised when a json remote call fails

Table Of Contents

Previous topic

cubicweb.web.views.urlrewrite

Next topic

Javascript API