|
16 | 16 | # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
17 | 17 | # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
18 | 18 | # |
19 | | -# $Id: roundup.cgi,v 1.16 2001-11-01 22:04:37 richard Exp $ |
| 19 | +# $Id: roundup.cgi,v 1.17 2001-11-06 21:51:19 richard Exp $ |
20 | 20 |
|
21 | 21 | # python version check |
22 | 22 | import sys |
@@ -68,7 +68,7 @@ class RequestWrapper: |
68 | 68 | self.wfile.write('Status: %s\r\n'%code) |
69 | 69 | def send_header(self, keyword, value): |
70 | 70 | self.wfile.write("%s: %s\r\n" % (keyword, value)) |
71 | | - def end_headers(self, keyword, value): |
| 71 | + def end_headers(self): |
72 | 72 | self.wfile.write("\r\n") |
73 | 73 |
|
74 | 74 | def main(out, err): |
@@ -100,6 +100,7 @@ def main(out, err): |
100 | 100 | import urllib |
101 | 101 | request.send_response(200) |
102 | 102 | request.send_header('Content-Type', 'text/html') |
| 103 | + request.end_headers() |
103 | 104 | w = request.wfile.write |
104 | 105 | w('<html><head><title>Roundup instances index</title></head>\n') |
105 | 106 | w('<body><h1>Roundup instances index</h1><ol>\n') |
@@ -127,6 +128,12 @@ sys.stdout, sys.stderr = out, err |
127 | 128 |
|
128 | 129 | # |
129 | 130 | # $Log: not supported by cvs2svn $ |
| 131 | +# Revision 1.16 2001/11/01 22:04:37 richard |
| 132 | +# Started work on supporting a pop3-fetching server |
| 133 | +# Fixed bugs: |
| 134 | +# . bug #477104 ] HTML tag error in roundup-server |
| 135 | +# . bug #477107 ] HTTP header problem |
| 136 | +# |
130 | 137 | # Revision 1.15 2001/10/29 23:55:44 richard |
131 | 138 | # Fix to CGI top-level index (thanks Juergen Hermann) |
132 | 139 | # |
|
0 commit comments