using urlretrive/urlopen

Rustom Mody rustompmody at gmail.com
Fri May 15 17:03:09 CEST 2009


I am trying to talk to a server that runs on localhost
The server runs on http://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?

This is python2.6



More information about the Python-list mailing list