ophelia.wsgi
A WSGI application running Ophelia, and an optional wsgiref server running
this application.
Functions
-
ophelia.wsgi.boolean(value)[source]
-
ophelia.wsgi.paste_app_factory(global_conf, **local_conf)[source]
-
ophelia.wsgi.wsgiref_server()[source]
Classes
-
class ophelia.wsgi.Application(options=None)[source]
Bases: object
Ophelia’s WSGI application.
-
classmethod paste_app_factory(global_conf, **local_conf)[source]
-
sendfile(env, start_response)[source]
-
error_body = '<html>\n<head>\n<title>%(status)s</title>\n</head>\n<body>\n<h1>%(status)s</h1>\n<p>\n%(text)s\n</p>\n</body>\n</html>\n'
-
class ophelia.wsgi.Request(path, template_root, site, **env)[source]
Bases: ophelia.request.Request