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

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


Update of /cvs-repository/Packages/ZServer
In directory cvs.zope.org:/tmp/cvs-serv15150/ZServer

Modified Files:
	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"


=== Packages/ZServer/HTTPServer.py 1.32 => 1.33 ===
         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']=''