Message69000
> Can you please try this patch on top of the original patch?
It makes an infinite loop:
Traceback (most recent call last):
File "F:\nfl\proxyhttps\test.py", line 8, in <module>
response = urllib2.urlopen(req)
File "C:\Python25\lib\urllib2.py", line 121, in urlopen
return _opener.open(url, data)
File "C:\Python25\lib\urllib2.py", line 377, in open
req = meth(req)
File "C:\Python25\lib\urllib2.py", line 1037, in do_request_
scheme, sel = splittype(request.get_selector())
File "C:\Python25\lib\urllib2.py", line 253, in get_selector
return self.__r_host
File "C:\Python25\lib\urllib2.py", line 215, in __getattr__
return getattr(self, attr)
File "C:\Python25\lib\urllib2.py", line 215, in __getattr__
return getattr(self, attr)
File "C:\Python25\lib\urllib2.py", line 215, in __getattr__
return getattr(self, attr)
File "C:\Python25\lib\urllib2.py", line 215, in __getattr__
return getattr(self, attr)
File "C:\Python25\lib\urllib2.py", line 215, in __getattr__
return getattr(self, attr)
...
The test program was:
import urllib2
targeturl = 'https://www.paypal.com/'
proxyhost = 'proxy.xxxxxxxx.hu:3128'
req = urllib2.Request(targeturl)
req.set_proxy(proxyhost, 'https')
response = urllib2.urlopen(req)
print response.info() |
|
| Date |
User |
Action |
Args |
| 2008-06-30 08:49:20 | nfl | set | spambayes_score: 0.134673 -> 0.134673 recipients:
+ nfl, doko, mjpieters, orsenthil, kxroberto, vila, djc, mwilck, chrisl, mihalis68, dpeterson, poeml, cameron, matb |
| 2008-06-30 08:49:20 | nfl | set | spambayes_score: 0.134673 -> 0.134673 messageid: <1214815759.99.0.839974928144.issue1424152@psf.upfronthosting.co.za> |
| 2008-06-30 08:49:18 | nfl | link | issue1424152 messages |
| 2008-06-30 08:49:17 | nfl | create | |
|