From 745bcc3cf6abd2330c23c74bcc2d696eaa1207f4 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 4 Jun 2008 13:53:21 -0400 Subject: [PATCH] Redirect with 303 See Other. svn path=/trunk/packages/sipb-xen-www/; revision=588 --- code/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 1.7.9.5