# HG changeset patch # User Jeff Hammel # Date 1330622609 28800 # Node ID 315b7b49eaf4d954a5a5ce24ace18fd1db4c9d3f # Parent ab52f46a368250d7f3053848479285617f8237c8 add redirect diff -r ab52f46a3682 -r 315b7b49eaf4 simpypi/wsgi.py --- a/simpypi/wsgi.py Thu Mar 01 08:45:13 2012 -0800 +++ b/simpypi/wsgi.py Thu Mar 01 09:23:29 2012 -0800 @@ -49,5 +49,6 @@ # get the package package = self.request.POST.get('package') - # TODO: redirect to the main page - # self.redirect(self.link(self.handler_path)) + # redirect to the main page + return exc.HTTPSeeOther(add_slash=True) +