# HG changeset patch # User Richard Jones # Date 1005083479 0 # Node ID 3aee8a37afeb3df7dbee9244957fef5d50bd0ae7 # Parent 82630e18239d487e42856fd8323acb699912a348 Fixed HTTP headers for top-level index in CGI script diff -r 82630e18239d -r 3aee8a37afeb MIGRATION.txt --- 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. + diff -r 82630e18239d -r 3aee8a37afeb cgi-bin/roundup.cgi --- 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('Roundup instances index\n') w('

Roundup instances index

    \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) #