title: twisted location header redirect
body: <p>From the <code>render_GET</code> method of a <code>Resource</code> in <code>twisted</code>, is it possible to redirect to a different url entirely (hosted elsewhere)</p>
  
  <p><code>request.redirect(url)</code> doesn't appear to do anything, and neither does <code>twisted.web.util.Redirect</code></p>
  
  <p>The equivalent in php would be,</p>
  
  <pre><code>header('location:'.$url);
  </code></pre>
  
  <h2>EDIT</h2>
  
  <p>this is the code I'm running </p>
  
  <pre><code>from twisted.web import server, resource
  from twisted.internet import reactor
  
  class Simple(resource.Resource):
      isLeaf = True
      def render_GET(self, request):
          request.redirect("www.google.com")
          request.finish()
  
  site = server.Site(Simple())
  reactor.listenTCP(8080, site)
  reactor.run()
  </code></pre>