Lines Matching refs:environ
48 def hello_app(environ,start_response):
56 def header_app(environ, start_response):
62 environ['HTTP_X_TEST_HEADER'], environ['QUERY_STRING'],
63 environ['PATH_INFO']
161 def bad_app(environ,start_response):
176 def bad_app(environ, start_response):
235 # PEP3333 says environ variables are decoded as latin1.
259 def app(environ, start_response):
526 os_environ = dict(os.environ.items())
545 env = handler.environ
555 env = handler.environ
556 from os import environ
557 for k,v in environ.items():
568 self.assertEqual(h.environ["X"],"Y")
574 self.assertIn(key, h.environ)
578 self.assertEqual(h.environ['wsgi.url_scheme'],'https')
580 self.assertEqual(h.environ['wsgi.url_scheme'],'http')
770 environ = {"SERVER_PROTOCOL": "HTTP/1.0"}
771 h = SimpleHandler(BytesIO(), PartialWriter(), sys.stderr, environ)