view MoinMoin/server/wsgi.py @ 0:77665d8e2254

tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0 (automatically generated log message) imported from: moin--main--1.5--base-0
author Thomas Waldmann <tw-public@gmx.de>
date Thu, 22 Sep 2005 15:09:50 +0000
parents
children 80d0ad85a2d8
line wrap: on
line source
"""
    MoinMoin - WSGI application

    @copyright: 2005 by Anakim Border <akborder@gmail.com>
    @license: GNU GPL, see COPYING for details.
"""

from MoinMoin.request import RequestWSGI

def moinmoinApp(environ, start_response):
    request = RequestWSGI(environ)
    request.run()
    start_response(request.status, request.headers)
    return [request.output()]