On Dec 5, 8:30 am, Teemu Ikonen <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a newbie problem which I could not solve by browsing the docs, > faqs or mailing list archives: > > I need a simple proxy controller for a paste-deployed pylons app. > Simple means taking URLs of the form "/proxy?url=http://example.com" > and returning the unmodified reply from example.com. > > I could hack something together on the WSGI-level, but I would rather > not reinvent the wheel if there is an elegant solution using webob > objects. > > Teemu
If I had to do this, I would use something like urllib2.urlopen. If performance matters, you might want to play with caching the data. But why not open an iframe on the client? Why proxy? I'm curious about what WSGI stuff you would try. Matt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
