This is the error i get now InvalidURL at /index
nonnumeric port: On Mon, May 24, 2010 at 10:51 AM, ravi krishna <ravi.9...@gmail.com> wrote: > sorry the VIEW.py is: > > > > conn=httplib.HTTPConnection("www.python.org") > conn.request("GET", "/index.html") > > r1 = conn.getresponse() > print r1.status, r1.reason > data1 = r1.read() > conn.close() > > > On Mon, May 24, 2010 at 10:30 AM, ravi krishna <ravi.9...@gmail.com>wrote: > >> Hi, >> I want to retrieve data from wikimapia api. For this i am using httplib >> function of python. >> this is my VIEW.py file( just the httplic() ) >> >> conn=httplib.HTTPConnection("www.python.org") >> r1 = conn.getresponse() >> print r1.status, r1.reason >> data1 = r1.read() >> conn.close() >> >> Initially i gave the wikimapia API instead of www.python.org, then it >> gave invalid URL error; but the url was working. >> Then i gave www.python.org instead of wikimapia API just lyk given in the >> example of python documentation ; now its showing Response Not Ready error >> at /index. >> Somebody please help me to solve this solution. >> -- >> Regards, >> Rav! >> > > > > -- > Regards, > Rav! > -- Regards, Rav! -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.