mirror of https://github.com/scrapy/scrapy.git
Fix bug
This commit is contained in:
parent
247e24e5f4
commit
12cd4f39c8
|
|
@ -56,8 +56,8 @@ class HttpProxyMiddleware:
|
|||
_scheme not in ("http", "https")
|
||||
or not proxy_bypass(parsed.hostname)
|
||||
) and _scheme in self.proxies:
|
||||
creds, proxy_url = self.proxies[scheme]
|
||||
scheme = _scheme
|
||||
creds, proxy_url = self.proxies[scheme]
|
||||
|
||||
self._set_proxy_and_creds(request, proxy_url, creds, scheme)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue