Google App Engine: type "self.request.path"

When I self.response.out.write(self.request.path), the result looks like \page\cfg%27%40.

How to print a character instead?

+3
source share
1 answer

you have something like this

import urllib2
path = self.request.path
unquoted_path=urllib2.unquote(path)
+4
source

All Articles