[Zope-Checkins] CVS: Zope/ZServer - HTTPServer.py:1.32.18.1

Andreas Jung andreas@zope.com
Wed, 8 Aug 2001 09:04:33 -0400


Update of /cvs-repository/Zope/ZServer
In directory cvs.zope.org:/tmp/cvs-serv15089/ZServer

Modified Files:
      Tag: Zope-2_4-branch
	HTTPServer.py 
Log Message:
        - Collector #2497: SERVER_PROTOCOL variable is now compliant
          with the CGI specification and looks like "HTTP/1.1" instead
          of "1.1"


=== Zope/ZServer/HTTPServer.py 1.32 => 1.32.18.1 ===
         env['SERVER_NAME']=server.server_name
         env['SERVER_SOFTWARE']=server.SERVER_IDENT
-        env['SERVER_PROTOCOL']=request.version
+        env['SERVER_PROTOCOL']="HTTP/"+request.version
         env['channel.creation_time']=request.channel.creation_time
         if self.uri_base=='/':
             env['SCRIPT_NAME']=''