Mercurial > p > roundup > code
changeset 356:3aee8a37afeb
Fixed HTTP headers for top-level index in CGI script
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 06 Nov 2001 21:51:19 +0000 |
| parents | 82630e18239d |
| children | 48ceb1667983 |
| files | MIGRATION.txt cgi-bin/roundup.cgi |
| diffstat | 2 files changed, 17 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/MIGRATION.txt Tue Nov 06 00:08:25 2001 +0000 +++ b/MIGRATION.txt Tue Nov 06 21:51:19 2001 +0000 @@ -81,3 +81,11 @@ to send nosy messages to the author. Default behaviour is to not send nosy messages to the author. + +CGI script roundup.cgi +---------------------- +There have been some structural changes to the roundup.cgi script - you will +need to install it again from the cgi-bin directory of the source +distribution. Make sure you update the ROUNDUP_INSTANCE_HOMES after the +copy. +
--- a/cgi-bin/roundup.cgi Tue Nov 06 00:08:25 2001 +0000 +++ b/cgi-bin/roundup.cgi Tue Nov 06 21:51:19 2001 +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.16 2001-11-01 22:04:37 richard Exp $ +# $Id: roundup.cgi,v 1.17 2001-11-06 21:51:19 richard Exp $ # python version check import sys @@ -68,7 +68,7 @@ self.wfile.write('Status: %s\r\n'%code) def send_header(self, keyword, value): self.wfile.write("%s: %s\r\n" % (keyword, value)) - def end_headers(self, keyword, value): + def end_headers(self): self.wfile.write("\r\n") def main(out, err): @@ -100,6 +100,7 @@ import urllib request.send_response(200) request.send_header('Content-Type', 'text/html') + request.end_headers() w = request.wfile.write w('<html><head><title>Roundup instances index</title></head>\n') w('<body><h1>Roundup instances index</h1><ol>\n') @@ -127,6 +128,12 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.16 2001/11/01 22:04:37 richard +# Started work on supporting a pop3-fetching server +# Fixed bugs: +# . bug #477104 ] HTML tag error in roundup-server +# . bug #477107 ] HTTP header problem +# # Revision 1.15 2001/10/29 23:55:44 richard # Fix to CGI top-level index (thanks Juergen Hermann) #
