Home | History | Annotate | Download | only in test

Lines Matching refs:HTTPS

231         self.checkCrossDefault('wsgi.url_scheme',"https",HTTPS="on")
232 self.checkCrossDefault('wsgi.url_scheme',"https",HTTPS="1")
233 self.checkCrossDefault('wsgi.url_scheme',"https",HTTPS="yes")
234 self.checkCrossDefault('wsgi.url_scheme',"http",HTTPS="foo")
235 self.checkCrossDefault('SERVER_PORT',"80",HTTPS="foo")
236 self.checkCrossDefault('SERVER_PORT',"443",HTTPS="on")
240 self.assertEqual(util.guess_scheme({'HTTPS':"foo"}), "http")
241 self.assertEqual(util.guess_scheme({'HTTPS':"on"}), "https")
242 self.assertEqual(util.guess_scheme({'HTTPS':"yes"}), "https")
243 self.assertEqual(util.guess_scheme({'HTTPS':"1"}), "https")
254 self.checkAppURI("https://127.0.0.1/", HTTPS="on")
403 h=TestHandler(HTTPS="on"); h.setup_environ()
404 self.assertEqual(h.environ['wsgi.url_scheme'],'https')