Lines Matching refs:environ
56 # by default it's a copy of 'os.environ' as of import time, but you can
58 os_environ = dict(os.environ.items())
85 self.result = application(self.environ, self.start_response)
99 env = self.environ = self.os_environ.copy()
136 return guess_scheme(self.environ)
261 self.result = self.headers = self.status = self.environ = None
282 return self.environ['SERVER_PROTOCOL'].upper() != 'HTTP/0.9'
305 self.result = self.error_output(self.environ, self.start_response)
309 def error_output(self, environ, start_response):
354 """Override in subclass to insert CGI variables in 'self.environ'"""
371 def __init__(self,stdin,stdout,stderr,environ,
377 self.base_env = environ
388 self.environ.update(self.base_env)
401 """CGI-like systems using input/output/error streams and environ mapping
411 sys.stdin, os.environ, and so on.
425 """CGI-based invocation via sys.stdin/stdout/stderr and os.environ
434 parameters, but always uses 'sys.stdin', 'os.environ', and friends.
441 # Do not allow os.environ to leak between requests in Google App Engine
448 self, sys.stdin, sys.stdout, sys.stderr, dict(os.environ.items()),