On May 16, 6:30 am, "Gabriel Genellina" <gagsl-...@yahoo.com.ar> wrote: > En Fri, 15 May 2009 12:03:09 -0300, Rustom Mody <rustompm...@gmail.com> > escribió: > > > I am trying to talk to a server that runs on localhost > > The server runs onhttp://localhost:7000/and that opens alright in a > > web browser. > > > However if I use urlopen or urlretrieve what I get is this 'file' -- > > obviously not the one that the browser gets: > > > <html><body bgcolor="#ffffff"> > > Query 'http://localhost:7000/'not implemented > > </body></html> > > Any tips/clues? > > Please post the code you're using to access the server. > Do you have any proxy set up? > > -- > Gabriel Genellina
Thanks Gabriel! urlopen("http://localhost:7000", proxies={}) seems to be what I needed. -- http://mail.python.org/mailman/listinfo/python-list