On Thursday, September 26, 2013 4:10:14 PM UTC-7, Craig Small wrote: > > On Thu, Sep 26, 2013 at 03:58:27PM -0700, kgk wrote: > > For example : > http://myhost/app/process?url=http://myhost/app/mydata > > the url parameter may be an internal turbogears url or an external, I > > would like to know > You would have to have it escaped ior encoded properly but after that has > been done > the the url parameter is just another string. Your application would > have to decode it, not sure if there is a standard validator for urls or > not but the Regex one might do it. > -- >
The encoding was not really the issue.. I want to use a parameter and process it as if it were sent from the browser by passing it through the application stack. I could do this with making an http call urllib.open (url).read() but I know that the URL is the *same* application that got the original request. I am wondering if I can simply create a request and pass it to the wsgi app for processing, and then grab the output. -- You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears. For more options, visit https://groups.google.com/groups/opt_out.

