Lines Matching refs:port

68         self.port = self.httpd.server_port
296 self.server_url = 'http://127.0.0.1:%s' % self.server.port
352 proxy_url = "http://127.0.0.1:%d" % self.server.port
408 port = 80
430 self.send_header(header, value % {'port':self.port})
493 port = self.server.port
494 handler.port = port
505 handler.port = server.port
511 (302, [("Location", "http://localhost:%(port)s/somewhere_else")],
517 data = self.urlopen("http://localhost:%s/" % handler.port)
532 data = self.urlopen("http://localhost:%s/" % handler.port)
540 self.urlopen("http://localhost:%s/weeble" % handler.port)
553 data = self.urlopen("http://localhost:%s/bizarre" % handler.port)
560 data = self.urlopen("http://localhost:%s/bizarre" % handler.port,
568 data = self.urlopen("https://localhost:%s/bizarre" % handler.port, context=context)
575 data = self.urlopen("https://localhost:%s/bizarre" % handler.port,
580 self.urlopen("https://localhost:%s/bizarre" % handler.port,
585 self.urlopen("https://localhost:%s/bizarre" % handler.port,
593 self.urlopen("https://localhost:%s/bizarre" % handler.port,
609 self.urlopen("https://localhost:%s" % handler.port, context=context)
614 req = urllib.request.Request("http://localhost:%s/" % handler.port,
622 req = urllib.request.Request("http://localhost:%s/" % handler.port,
631 with urllib.request.urlopen("http://localhost:%s" % handler.port) as open_url:
640 "http://localhost:%s" % handler.port)
651 open_url = urllib.request.urlopen("http://localhost:%s" % handler.port)
654 self.assertEqual(url, "http://localhost:%s" % handler.port)
659 data = urllib.request.urlopen("http://localhost:%s" % handler.port)
667 data = urllib.request.urlopen("http://localhost:%s" % handler.port)
683 request = urllib.request.Request("http://localhost:%s" % handler.port)