projects
/
invirt/packages/invirt-web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0724e03
)
Redirect with 303 See Other.
author
Anders Kaseorg
<andersk@mit.edu>
Wed, 4 Jun 2008 17:53:21 +0000
(13:53 -0400)
committer
Anders Kaseorg
<andersk@mit.edu>
Wed, 4 Jun 2008 17:53:21 +0000
(13:53 -0400)
svn path=/trunk/packages/sipb-xen-www/; revision=588
code/main.py
patch
|
blob
|
history
diff --git
a/code/main.py
b/code/main.py
index
10b6d73
..
d05eaca
100755
(executable)
--- 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: