view MoinMoin/server/wsgi.py @ 1550:a4f0632414da

using request.cfg.cache more
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 14 Sep 2006 22:49:42 +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()]