Searched refs:newurl (Results 1 – 2 of 2) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | urllib2.py | 531 def redirect_request(self, req, fp, code, msg, headers, newurl): argument 550 newurl = newurl.replace(' ', '%20') 554 return Request(newurl, 569 newurl = headers.getheaders('location')[0] 571 newurl = headers.getheaders('uri')[0] 576 urlparts = urlparse.urlparse(newurl) 580 newurl = urlparse.urlunparse(urlparts) 582 newurl = urlparse.urljoin(req.get_full_url(), newurl) 586 newurl_lower = newurl.lower() 590 raise HTTPError(newurl, code, [all …]
|
D | urllib.py | 638 newurl = headers['location'] 640 newurl = headers['uri'] 646 newurl = basejoin(self.type + ":" + url, newurl) 650 newurl_lower = newurl.lower() 656 newurl, 659 return self.open(newurl) 722 newurl = 'http://' + host + selector 733 return self.open(newurl) 735 return self.open(newurl, data) 739 newurl = 'https://' + host + selector [all …]
|