Skip to content

Commit 2d7f93f

Browse files
author
Richard Jones
committed
Fix WSGI response code (thanks Peter Pöml)
1 parent a9b3de4 commit 2d7f93f

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Fixes:
3535
fix mailgw to use Register permission, fixes issue2550599
3636
- Fix styling of calendar to make it more usable, fixes issue2550608
3737
- Fix typo in email section of user guide, fixes issue2550607
38+
- Fix WSGI response code (thanks Peter P�ml)
3839

3940

4041
2009-10-09 1.4.10 (r4374)

doc/acknowledgements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ Patrick Ohly,
9090
Luke Opperman,
9191
Eddie Parker,
9292
Will Partain,
93+
Peter Pöml,
9394
Ewout Prangsma,
9495
Marcus Priesch,
9596
Bernhard Reiter,

roundup/cgi/wsgi_handler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ def __call__(self, environ, start_response):
7373

7474
def start_response(self, headers, response_code):
7575
"""Set HTTP response code"""
76-
description = BaseHTTPRequestHandler.responses[response_code]
76+
message, explain = BaseHTTPRequestHandler.responses[response_code]
7777
self.__wfile = self.__start_response('%d %s'%(response_code,
78-
description), headers)
78+
message), headers)
7979

8080
def get_wfile(self):
8181
if self.__wfile is None:

0 commit comments

Comments
 (0)