Commits

Robert Brewer committed 4415533

Added wsgi 1.1 to wsgiserver like mod_wsgi's definition. See http://blog.dscpl.com.au/2009/10/details-on-wsgi-10-amendmentsclarificat.html

Comments (0)

Files changed (1)

cherrypy/wsgiserver/__init__.py

         return env
 
 
+class WSGIGateway_11(WSGIGateway_10):
+    
+    def get_environ(self):
+        env = WSGIGateway_10.get_environ(self)
+        env['wsgi.version'] = (1, 1)
+        return env
+
+
 class WSGIGateway_u0(WSGIGateway_10):
     
     def get_environ(self):
 
 wsgi_gateways = {
     (1, 0): WSGIGateway_10,
+    (1, 1): WSGIGateway_11,
     ('u', 0): WSGIGateway_u0,
 }