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:
d39b6ed
)
Fix for modified status headers.
author
Eric Price
<ecprice@mit.edu>
Wed, 4 Jun 2008 05:12:59 +0000
(
01:12
-0400)
committer
Eric Price
<ecprice@mit.edu>
Wed, 4 Jun 2008 05:12:59 +0000
(
01:12
-0400)
svn path=/trunk/packages/sipb-xen-www/; revision=587
code/main.py
patch
|
blob
|
history
diff --git
a/code/main.py
b/code/main.py
index
29b46db
..
10b6d73
100755
(executable)
--- a/
code/main.py
+++ b/
code/main.py
@@
-675,7
+675,9
@@
Please email xvm-dev@mit.edu with the contents of this page.'
----
%s
----''' % (str(err), traceback.format_exc())
- self.start('200 OK', headers.items())
+ status = headers.setdefault('Status', '200 OK')
+ del headers['Status']
+ self.start(status, headers.items())
yield output_string
if fields.has_key('timedebug'):
yield '<pre>%s</pre>' % cgi.escape(str(checkpoint))