Hi all,
In my case, I want to display several images according to a id. The url may
looks like *~/genplots?id=20150401134514*. I wrote "*raise
web.seeother('/genplots?id=%s' %(idstring))*" with " '*/genplots\?id=(\d*)',
'genplots*'". But it won't match url correctly and I got error message
""HTTP/1.1 GET /genplots" - 404 Not Found" with expected url in the
browser's address field.
However, if I use encoding "*raise
web.seeother('/genplots'+'%3Fid%3D'+idstring)*", it shows correct image set
with message ""HTTP/1.1 GET /genplots?id=20150401134514" - 200 OK". But the
url in the browser was "~/genplots*%3F*id*%3D*20150401134725" rather than
"~/genplots?id=20150401134725". Is there a way to fix this issue? I
searched but didn't find proper example code. Thanks a lot.
Best Regards,
-Yongzhi
--
You received this message because you are subscribed to the Google Groups
"web.py" 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/webpy.
For more options, visit https://groups.google.com/d/optout.