Re: HTTP Protocol Client

2007-09-20 Thread Ian Clark
[EMAIL PROTECTED] wrote: > h = httplib.HTTP('http://Google.com',80) This should be: h = httplib.HTTP('Google.com',80) And I certainly agree with the others, check out urllib*. Ian -- http://mail.python.org/mailman/listinfo/python-list

Re: HTTP Protocol Client

2007-09-19 Thread [EMAIL PROTECTED]
On Sep 19, 6:10 am, [EMAIL PROTECTED] wrote: > Hi, > > I am writing http protocol to get some data from servers. If i was > using my localhost, getting replay from local and if want access other > remote sites, i am getting error. Please reply it > > My localhost client script::: > > Code: ( pytho

Re: HTTP Protocol Client

2007-09-19 Thread Steve Holden
[EMAIL PROTECTED] wrote: > Hi, > > I am writing http protocol to get some data from servers. If i was > using my localhost, getting replay from local and if want access other > remote sites, i am getting error. Please reply it > > My localhost client script::: > > Code: ( python ) > > > impor

HTTP Protocol Client

2007-09-19 Thread welcomestocontact
Hi, I am writing http protocol to get some data from servers. If i was using my localhost, getting replay from local and if want access other remote sites, i am getting error. Please reply it My localhost client script::: Code: ( python ) import httplib h = httplib.HTTP('localhost',80) h.pu

HTTP Protocol Client

2007-09-19 Thread welcomestocontact
Hi, I am writing http protocol to get some data from servers. If i was using my localhost, getting replay from local and if want access other remote sites, i am getting error. Please reply it My localhost client script::: Code: ( python ) import httplib h = httplib.HTTP('localhost',80) h.pu