2011/7/5 成都七中2002级7班_大家都是天才~ :
> 2. If I open fiddler, everything works great. But I can't see the
> traffic in fiddler. And if I change port from to any other
> number, it works find too.
>
It sounds to me like the traffic's going through fiddler, but you're
just not seeing any log entries.
here's my code. I've change the port from to .
import urllib2
proxy_support = urllib2.ProxyHandler({'http':'http://127.0.0.1:'})
opener = urllib2.build_opener(proxy_support, urllib2.HTTPHandler)
urllib2.install_opener(opener)
content = urllib2.urlopen('http://www.google.com').read()
p