On Fri, Sep 19, 2008 at 3:02 PM, Mark Ramm <[EMAIL PROTECTED]> wrote: > >> I have access to this, and inspecting it, it looks to the untutored eye >> like a wsgi environ, so would that mean that I could call a wsgi app by >> simply passing cherrypy.request.wsgi_environ into the app as the environ >> arg? > > Yea, but you need both an envirn, and a start_response callable. > > You can fake out start_response if you know what the headers should > look like, otherwise you need to make a callable that sets the proper > headers in cherrypy.response based on what it's passed. Perhaps such > a thing already exists... > > > >
How about using cherrypy.lib.cptools.WSGIApp for cp2 & cherrypy.tools.wsgiapp.handler for cp3? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

