Chris Angelico wrote:
> On Tue, May 10, 2011 at 4:20 AM, Bob Fnord wrote:
> > Both methods give me a 503 error...
>
> As a networking geek, my first thought would be to fire up a tiny
> little "snoop server" and see what, exactly, the two methods are
> doing. (Ignore the HTTPS options as they'r
On Tue, May 10, 2011 at 4:20 AM, Bob Fnord wrote:
> Both methods give me a 503 error...
As a networking geek, my first thought would be to fire up a tiny
little "snoop server" and see what, exactly, the two methods are
doing. (Ignore the HTTPS options as they're more complicated to snoop
on; you'
Here's my python code:
import httplib, urllib2
proxy_handler = {'http' : 'localhost:8118',
'https' : 'localhost:8118'}
def connect_u2(url = 'http://ipid.shat.net/iponly/'):,
proxied = urllib2.ProxyHandler(proxy_handler)
opnr = urllib2.build_opener(proxied)
opnr.addhe