Source

CherryPy / _cpwsgiserver.py

Diff from to

File _cpwsgiserver.py

         
         # path may be an abs_path (including "http://host.domain.tld");
         scheme, location, path, params, qs, frag = urlparse(path)
+        if scheme:
+            self.environ["wsgi.url_scheme"] = scheme
         if params:
             path = path + ";" + params