summaryrefslogtreecommitdiff
path: root/django/core/handlers/modpython.py
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2011-12-16 22:06:06 +0000
committerAdrian Holovaty <adrian@holovaty.com>2011-12-16 22:06:06 +0000
commit61f0aff811aa596fa62136852c59d47f988d1185 (patch)
treea8acf5418b8ced4176cc90d8d3c7dfb6f481f9de /django/core/handlers/modpython.py
parent4d32e6abc2fe683ecdea719a368ed8a4ce84a699 (diff)
Fixed #14597 -- Added a SECURE_PROXY_SSL_HEADER setting for cases when you're behind a proxy that 'swallows' the fact that a request is HTTPS
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/core/handlers/modpython.py')
-rw-r--r--django/core/handlers/modpython.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/handlers/modpython.py b/django/core/handlers/modpython.py
index b0b8a0618b..fb23fb497a 100644
--- a/django/core/handlers/modpython.py
+++ b/django/core/handlers/modpython.py
@@ -44,7 +44,7 @@ class ModPythonRequest(http.HttpRequest):
# doesn't always happen, so rather than crash, we defensively encode it.
return '%s%s' % (self.path, self._req.args and ('?' + iri_to_uri(self._req.args)) or '')
- def is_secure(self):
+ def _is_secure(self):
try:
return self._req.is_https()
except AttributeError: