equal
deleted
inserted
replaced
57 safe_copyfileobj(environ['wsgi.input'], self.content, size=length) |
57 safe_copyfileobj(environ['wsgi.input'], self.content, size=length) |
58 self.content.seek(0, 0) |
58 self.content.seek(0, 0) |
59 |
59 |
60 headers_in = dict((normalize_header(k[5:]), v) for k, v in self.environ.items() |
60 headers_in = dict((normalize_header(k[5:]), v) for k, v in self.environ.items() |
61 if k.startswith('HTTP_')) |
61 if k.startswith('HTTP_')) |
62 https = environ.get("HTTPS") in ('yes', 'on', '1') |
62 https = self.is_secure() |
63 post, files = self.get_posted_data() |
63 post, files = self.get_posted_data() |
64 |
64 |
65 super(CubicWebWsgiRequest, self).__init__(vreg, https, post, |
65 super(CubicWebWsgiRequest, self).__init__(vreg, https, post, |
66 headers= headers_in) |
66 headers= headers_in) |
67 if files is not None: |
67 if files is not None: |