Django

Code

Changeset 3919

Show
Ignore:
Timestamp:
10/24/06 11:07:39 (2 years ago)
Author:
adrian
Message:

Changed django.core.handlers.modpython ModPythonRequest?.is_secure() to use req.is_https(). Thanks, Jeremy Dunck

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/core/handlers/modpython.py

    r3877 r3919  
    4242 
    4343    def is_secure(self): 
    44         return self._req.subprocess_env.has_key('HTTPS') and self._req.subprocess_env['HTTPS'] == 'on' 
     44        return bool(self._req.is_https()) 
    4545 
    4646    def _load_post_and_files(self):