title: tornado redirect with parameters
body: <p>A user logs into my site through oauth via the url</p>
  
  <pre><code>http://provemath.org/index?method=google&amp;state=KasQzeMyWQj3YTvF4aZGi9smLUMwXa&amp;code=4/OAeBwzZLSqoHtwBgEHojEQ1_FFO7TK03j5UUyF2Bdng#
  </code></pre>
  
  <p>I don't really like the messiness of the parameters in the URL, and currently it causes an issue when they reload.  So what I'd like to do is redirect them to provemath.org in order to get those parameters out of the URL, but pass those same variables along some <em>other</em> way.</p>
  
  <p>Is it possible to do a redirect (something like <code>self.redirect('http://provemath.org', self.request.uri)</code>) and pass in some variables <em>not</em> through the URL?</p>
  
  <p>It doesn't look like the possibility is built-in:</p>
  
  <p><a href="http://www.tornadoweb.org/en/stable/_modules/tornado/web.html#RequestHandler.redirect" rel="nofollow">http://www.tornadoweb.org/en/stable/_modules/tornado/web.html#RequestHandler.redirect</a></p>