view MoinMoin/server/WSGI.py @ 1918:bb2e053067fb

fixing copyright headers: remove umlauts (encoding troubles), make epydoc compatible, reformat
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 27 Mar 2007 21:07:33 +0200
parents a434ee49b5a6
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()]