Maintain old PythonDebug behavior under mod_python

This commit is contained in:
Mike McLean 2012-05-11 16:02:32 -04:00
parent 756204da28
commit 6123acaac1
2 changed files with 4 additions and 0 deletions

View file

@ -69,6 +69,7 @@ class WSGIWrapper(object):
environ = LazyDict(environ)
environ.lazyset('modpy.env', self.env, [])
environ.lazyset('modpy.opts', req.get_options, [])
environ.lazyset('modpy.conf', req.get_config, [])
environ.lazyset('SCRIPT_NAME', self.script_name, [], cache=True)
env_keys = ['SSL_CLIENT_VERIFY', 'HTTPS']
for key in env_keys: