Skip to content

Commit

Permalink
condition web3.script_name on RAW SCRIPT NAME
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdonc committed Sep 17, 2010
1 parent 272c62c commit a7f7928
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web3ref/web3ref/handlers.py
Expand Up @@ -102,7 +102,8 @@ def setup_environ(self):
env['web3.multiprocess'] = self.web3_multiprocess
if 'RAW_PATH_INFO' in env:
env['web3.path_info'] = env['RAW_PATH_INFO']
env['web3.script_name'] = env['SCRIPT_NAME']
if 'RAW_SCRIPT_NAME' in env:
env['web3.script_name'] = env['SCRIPT_NAME']
env['web3.async'] = self.web3_async

if self.origin_server and self.server_software:
Expand Down

0 comments on commit a7f7928

Please sign in to comment.