I've build a simple proxy server on top of pyramid. One part of it forwards http requests from inside pyramid views. In some cases there are a few issues with header forwarding but I guess this would be easy to fix if you are using a local network.
https://github.com/nive/outpost , have a look at proxy.py. (I use the whole thing for local javascript development to proxy requests to web apis.) Arndt. 2014-04-29 7:17 GMT+02:00 Chris McDonough <[email protected]>: > On 04/28/2014 07:35 PM, Mike Orr wrote: > >> In the next few months I will need the ability to forward requests >> from a Pyramid application to another Pyramid or Pylons application >> running in a separate processes. The reason for the separate processes >> is they're still in Pylons or have complex dependencies and I want to >> keep their code separate. The reason for the parent application is for >> complex authentication. >> >> Any ideas for how to approach this? I think a Pyramid view will be >> making an HTTP request via IPC. So, urllib? >> > > -- Arndt Droullier, Nive GmbH, Köln, Germany, www.nive.co -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
