I have a strange need to process a passed URL as if was sent to the 
application directly.
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
if it's possible to apply a URL to a known application i.e.

   # MyApp if my turbogears wsgi app

    @expose
    def process(self, url):
        if is_internal(url):
           newreq = Request(url)
            value =  MyApp (newreq)   # apply the application to the URL 
given
            # do something with the value 
        else:
            # make a http request for the item

Any ideas if this is possible ?

-- 
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.

Reply via email to