How to make a redirect and keep the query string?
newurl = '/my/new/route?' + urllib.urlencode(self.request.params)
self.redirect(newurl)
You can fetch the query string to the current request with self.request.query_string
; thus you can redirect to a new URL with self.redirect('/new/url?' + self.request.query_string)
.