On 15/04/2011 10:44, pbreit wrote:
I took a crack at it. Since I'm not sure how to test it, I have no idea
if it works. I'm just learning the "str.join()" trick so am not that
comfortable with it yet. At a minimum it returns the openlayers home
page if you simply go to http://127.0.0.1:8000/app/default/proxy as
suggested in the FAQ so that's a start. I also verified that it works if
you POST to the proxy and include the POST var
"url=http://labs.metacarta.com";.

very good job... but it doesn't work the problem is that the variable "body"[1] does not contain the right openlayers request but only a url. The problem is that in the original script the variable body takes their value using the POST method but web2py web server seams to work different from apache. Method seams always to be set as GET I can't understand why...

thanks anyway

Cheers

        Manuele


[1] body = urllib.urlencode(request.post_vars)

Reply via email to