Mercurial > p > roundup > code
diff roundup/scripts/roundup_server.py @ 636:3569dfce4bc5
The correct var is "HTTP_HOST"
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 21 Feb 2002 07:02:54 +0000 |
| parents | 3d61b5d2243e |
| children | cdcee6721841 |
line wrap: on
line diff
--- a/roundup/scripts/roundup_server.py Thu Feb 21 06:57:39 2002 +0000 +++ b/roundup/scripts/roundup_server.py Thu Feb 21 07:02:54 2002 +0000 @@ -18,7 +18,7 @@ # """ HTTP Server that serves roundup. -$Id: roundup_server.py,v 1.3 2002-02-21 06:57:39 richard Exp $ +$Id: roundup_server.py,v 1.4 2002-02-21 07:02:54 richard Exp $ """ # python version check @@ -158,7 +158,7 @@ env['SCRIPT_NAME'] = '' env['SERVER_NAME'] = self.server.server_name env['SERVER_PORT'] = str(self.server.server_port) - env['HOST'] = self.headers['host'] + env['HTTP_HOST'] = self.headers['host'] decoded_query = query.replace('+', ' ') @@ -249,6 +249,14 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.3 2002/02/21 06:57:39 richard +# . Added popup help for classes using the classhelp html template function. +# - add <display call="classhelp('priority', 'id,name,description')"> +# to an item page, and it generates a link to a popup window which displays +# the id, name and description for the priority class. The description +# field won't exist in most installations, but it will be added to the +# default templates. +# # Revision 1.2 2002/01/29 20:07:15 jhermann # Conversion to generated script stubs #
