Code

Fix WSGI response code (thanks Peter Pöml)
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Fri, 11 Dec 2009 22:08:23 +0000 (22:08 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Fri, 11 Dec 2009 22:08:23 +0000 (22:08 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4407 57a73879-2fb5-44c3-a270-3262357dd7e2

CHANGES.txt
doc/acknowledgements.txt
roundup/cgi/wsgi_handler.py

index 37f6709bd15a99074eaca6b086a979d5ed2886f7..4d08af625838b6392e0c63c8d835019471ba3e8d 100644 (file)
@@ -35,6 +35,7 @@ Fixes:
   fix mailgw to use Register permission, fixes issue2550599
 - Fix styling of calendar to make it more usable, fixes issue2550608
 - Fix typo in email section of user guide, fixes issue2550607
+- Fix WSGI response code (thanks Peter Pöml)
 
 
 2009-10-09 1.4.10 (r4374)
index 744e4a337e16ac7e825de7367afcb207cd85b497..63ff2ce563528c819770a8fda8d5c220ce939f18 100644 (file)
@@ -90,6 +90,7 @@ Patrick Ohly,
 Luke Opperman,
 Eddie Parker,
 Will Partain,
+Peter Pöml,
 Ewout Prangsma,
 Marcus Priesch,
 Bernhard Reiter,
index 27bc890cc08f68ef4f600b74c5acdc8543932be3..2344e01a36e0ac49a629b9a7dcc273f5dded2807 100644 (file)
@@ -73,9 +73,9 @@ class RequestDispatcher(object):
 
     def start_response(self, headers, response_code):
         """Set HTTP response code"""
-        description = BaseHTTPRequestHandler.responses[response_code]
+        message, explain = BaseHTTPRequestHandler.responses[response_code]
         self.__wfile = self.__start_response('%d %s'%(response_code,
-            description), headers)
+            message), headers)
 
     def get_wfile(self):
         if self.__wfile is None: