changeset 1852:763fb3eba3b3

fixed standalone http header server_version string
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 06 Mar 2007 12:24:55 +0100
parents d4274455706a
children 970140d46ae1
files MoinMoin/server/STANDALONE.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/server/STANDALONE.py	Mon Mar 05 23:29:31 2007 +0100
+++ b/MoinMoin/server/STANDALONE.py	Tue Mar 06 12:24:55 2007 +0100
@@ -273,8 +273,9 @@
     staticExpire = 365 * 24 * 3600 # 1 year expiry for static files
 
     def __init__(self, request, client_address, server):
-        self.server_version = "MoinMoin %s %s" % (version.revision,
-                                                  server.__class__.__name__)
+        self.server_version = "MoinMoin %s %s %s" % (version.release,
+                                                     version.revision,
+                                                     server.__class__.__name__)
         self.expires = 0
         SimpleHTTPServer.SimpleHTTPRequestHandler.__init__(self, request,
             client_address, server)