wsgi/request.py
changeset 9737 c6f47e635845
parent 9563 48f0ff3e2a32
child 9741 b6cc9da206df
--- a/wsgi/request.py	Mon Mar 24 10:34:58 2014 +0100
+++ b/wsgi/request.py	Tue May 06 15:59:39 2014 +0200
@@ -59,7 +59,7 @@
 
         headers_in = dict((normalize_header(k[5:]), v) for k, v in self.environ.items()
                           if k.startswith('HTTP_'))
-        https = environ.get("HTTPS") in ('yes', 'on', '1')
+        https = self.is_secure()
         post, files = self.get_posted_data()
 
         super(CubicWebWsgiRequest, self).__init__(vreg, https, post,