Lines Matching refs:netloc
1352 scheme, netloc, path, query, fragment = urlparse.urlsplit(base_url)
1359 if netloc:
1360 if ':' not in netloc:
1362 netloc += ':80'
1364 netloc += ':443'
1368 host, port = netloc.split(':', 1)
1371 env['HTTP_HOST'] = netloc
1428 scheme, netloc, path, qs, fragment = urlparse.urlsplit(path)
1433 if ':' not in netloc:
1435 netloc += ':80'
1437 netloc += ':443'
1442 netloc = 'localhost:80'
1454 'SERVER_NAME': netloc.split(':')[0],
1455 'SERVER_PORT': netloc.split(':')[1],
1456 'HTTP_HOST': netloc,