linotp.controllers.error module

error controller - to display errors

class linotp.controllers.error.ErrorController(name, install_name='', **kwargs)

Bases: BaseController

document()

GET, POST /error/document

Deprecated since version 3.2: Requests using HTTP POST method (because it is only reading data). This endpoint will only be available via HTTP GET method in the future. Render the error document

img(id)

GET, POST /error/img

Deprecated since version 3.2: Requests using HTTP POST method (because it is only reading data). This endpoint will only be available via HTTP GET method in the future. Serve Pylons’ stock images

jwt_exempt = True
style(id)

GET, POST /error/style

Deprecated since version 3.2: Requests using HTTP POST method (because it is only reading data). This endpoint will only be available via HTTP GET method in the future. Serve Pylons’ stock stylesheets