Update schemaless http proxy test

This commit is contained in:
ajaymittur28 2020-07-01 13:32:58 +05:30
parent 7fc80671a8
commit 006a945214
1 changed files with 1 additions and 1 deletions

View File

@ -741,7 +741,7 @@ class Http11ProxyTestCase(HttpProxyTestCase):
self.assertEqual(response.url, request.url)
self.assertEqual(response.body, b'http://example.com')
http_proxy = self.getURL('').replace('http:', '')
http_proxy = self.getURL('').replace('http://', '')
request = Request('http://example.com', meta={'proxy': http_proxy})
return self.download_request(request, Spider('foo')).addCallback(_test)