Function seeother() and redirect() in web.py is no use. I try to use
web.header('Location', 'www.google.com')
web.header('status', '301')
or
web.HTTPError('301', {'Location': 'www.google.com'})
but still redirect to:
http://127.0.0.1:80/www.google.com
which is not what we want:
http://google.com
How to redirect correctly?
which is not what we want:
  http://google.com

So why do you then redirect to www.google.com instead of http://google.com?
In web.py, How to 301 redirect to another domain?