We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed1f376 commit d8793afCopy full SHA for d8793af
scrapy/core/downloader/handlers/http11.py
@@ -166,6 +166,8 @@ def download_request(self, request):
166
url = urldefrag(request.url)[0]
167
method = request.method
168
headers = TxHeaders(request.headers)
169
+ if isinstance(agent, self._TunnelingAgent):
170
+ headers.removeHeader('Proxy-Authorization')
171
bodyproducer = _RequestBodyProducer(request.body) if request.body else None
172
173
start_time = time()
0 commit comments