コード例 #1
0
def make_application():
    """Create the WSGI application.

    Use this if you want to integrate Mailman's REST server with your own WSGI
    server.
    """
    return RootedAPI(Root())
コード例 #2
0
def make_application():
    """Return a callable WSGI application object."""
    app = RootedAPI(Root())
    app.add_error_handler(ValueError, handle_ValueError)
    return app
コード例 #3
0
def make_application():
    """Return a callable WSGI application object."""
    return RootedAPI(Root())