Home | History | Annotate | Download | only in fancy_urllib

Lines Matching refs:new_req

364     new_req = urllib2.HTTPRedirectHandler.redirect_request(
382 if hasattr(req, "_tunnel_host") and isinstance(new_req, urllib2.Request):
383 if new_req.get_type() == "https":
386 new_req._tunnel_host = new_req.get_host()
387 new_req.set_proxy(req.host, "https")
390 new_req._tunnel_host = None
391 new_req.type = "https"
392 if hasattr(req, "_key_file") and isinstance(new_req, urllib2.Request):
394 new_req._key_file = req._key_file
395 new_req._cert_file = req._cert_file
396 new_req._ca_certs = req._ca_certs
398 return new_req