From: Anders Kaseorg Date: Wed, 4 Jun 2008 17:53:21 +0000 (-0400) Subject: Redirect with 303 See Other. X-Git-Tag: sipb-xen-www/3.6~54 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/745bcc3cf6abd2330c23c74bcc2d696eaa1207f4 Redirect with 303 See Other. svn path=/trunk/packages/sipb-xen-www/; revision=588 --- diff --git a/code/main.py b/code/main.py index 10b6d73..d05eaca 100755 --- a/code/main.py +++ b/code/main.py @@ -339,7 +339,7 @@ def command(username, state, fields): return templates.list(searchList=[d]) elif back == 'info': machine = validation.Validate(username, state, machine_id=fields.getfirst('machine_id')).machine - return ({'Status': '302', + return ({'Status': '303 See Other', 'Location': '/info?machine_id=%d' % machine.machine_id}, "You shouldn't see this message.") else: