Re: 11001, 'getaddrinfo failed' : Error in httplib but not in urllib2

2008-12-01 Thread RajNewbie
On Dec 1, 7:43 pm, Tim Golden <[EMAIL PROTECTED]> wrote: > RajNewbie wrote: > > Hi all, > >     I am trying to connect to localhost via httplib, but it fails. > >     To check whether it is a firewall problem etc, I tried to connect > > via urllib2, but it went through fine. > >      Could some one

Re: 11001, 'getaddrinfo failed' : Error in httplib but not in urllib2

2008-12-01 Thread Tim Golden
RajNewbie wrote: Hi all, I am trying to connect to localhost via httplib, but it fails. To check whether it is a firewall problem etc, I tried to connect via urllib2, but it went through fine. Could some one help me out on this? I cannot use urllib2 in the program because I have to

11001, 'getaddrinfo failed' : Error in httplib but not in urllib2

2008-12-01 Thread RajNewbie
Hi all, I am trying to connect to localhost via httplib, but it fails. To check whether it is a firewall problem etc, I tried to connect via urllib2, but it went through fine. Could some one help me out on this? I cannot use urllib2 in the program because I have to send files via post t