Commits

Robert Brewer committed c8f33de

Further CP3 fix for #541; urlparse now sets wsgi.url_scheme if available.

Comments (0)

Files changed (1)

         
         # 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