view MoinMoin/server/wsgi.py @ 1079:029754c52b11

Changed file format of meta file (\r\n line endings). Enhanced docstrings.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Fri, 28 Jul 2006 16:01:19 +0200
parents 65dc979761f0
children
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 WSGI

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