diff -r e0b3fcf1c205 -r c6f47e635845 wsgi/request.py --- 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,