The WSGIApp class¶
-
class
ferenda.WSGIApp(repos, inifile=None, **kwargs)[source]¶ Implements a WSGI app.
-
search(environ, start_response)[source]¶ WSGI method, called by the wsgi app for requests that matches
searchendpoint.
-
api(environ, start_response)[source]¶ WSGI method, called by the wsgi app for requests that matches
apiendpoint.
-
static(environ, start_response)[source]¶ WSGI method, called by the wsgi app for all other requests not handled by
search()orapi()
-
stream(environ, start_response)[source]¶ WSGI method, called by the wsgi app for requests that indicate the need for a streaming response.
-
exception_heading= 'Something is broken'¶
-
exception_description= 'Something went wrong when showing the page. Below is some troubleshooting information intended for the webmaster.'¶
-