diff -r 01002b5b8bd7 django/core/handlers/wsgi.py
a
|
b
|
class WSGIRequest(http.HttpRequest):
|
105 | 105 | return '%s%s' % (self.path, self.environ.get('QUERY_STRING', '') and ('?' + self.environ.get('QUERY_STRING', '')) or '') |
106 | 106 | |
107 | 107 | def is_secure(self): |
108 | | return 'HTTPS' in self.environ and self.environ['HTTPS'] == 'on' |
| 108 | return 'wsgi.url_scheme' in self.environ and self.environ['wsgi.url_scheme'] == 'https' |
109 | 109 | |
110 | 110 | def _load_post_and_files(self): |
111 | 111 | # Populates self._post and self._files |