Mercurial > p > roundup > code
diff frontends/roundup.cgi @ 3777:74aebbbea305
Sorry for the mega-patch - was all done on the train:
- handling of required for booelan False and numeric 0 [SF#1608200]
- removed bogus args attr of ConfigurationError [SF#1608056]
- implemented start_response in roundup.cgi [SF#1604304]
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 11 Dec 2006 23:36:15 +0000 |
| parents | a2d22d0de0bc |
| children | 58306b1b01c9 |
line wrap: on
line diff
--- a/frontends/roundup.cgi Sun Dec 03 01:09:16 2006 +0000 +++ b/frontends/roundup.cgi Mon Dec 11 23:36:15 2006 +0000 @@ -16,7 +16,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: roundup.cgi,v 1.1 2006-11-09 00:36:21 richard Exp $ +# $Id: roundup.cgi,v 1.2 2006-12-11 23:36:15 richard Exp $ # python version check from roundup import version_check @@ -129,6 +129,11 @@ self.write("%s: %s\r\n" % (keyword, value)) def end_headers(self): self.write("\r\n") + def start_response(self, headers, response): + self.send_response(response) + for key, value in headers: + self.send_header(key, value) + self.end_headers() # # Main CGI handler
