Code review comment for lp:~toshio/loggerhead/mod_wsgi

Revision history for this message
Max Kanat-Alexander (mkanat) wrote :

Also, there's already this WSGI block in loggerhead.main:

    else:
        if protocol == 'fcgi':
            from flup.server.fcgi import WSGIServer
        elif protocol == 'scgi':
            from flup.server.scgi import WSGIServer
        elif protocol == 'ajp':
            from flup.server.ajp import WSGIServer
        else:
            print 'Unknown protocol: %s.' % (protocol)
            sys.exit(1)

Could we perhaps just modify that to get direct mod_wsgi support?

« Back to merge proposal