view MoinMoin/server/WSGI.py @ 1973:4495ff257334

minor CHANGES changes
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 09 Apr 2007 01:47:48 +0200
parents bb2e053067fb
children
line wrap: on
line source
"""
    MoinMoin - WSGI application

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

from MoinMoin.request import WSGI

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