urllib.urlretrieve("http://free.bsdshell.net/")

Oleg Broytmann phd at phd.pp.ru
Thu Jan 25 07:36:52 EST 2001


Thanks.

   While we were trying to resolve the issue, the site died and replaced
by some French site. So it is too late to do experiments.
   BTW urllib now happily connects to it.

   Thanks to all who helped!

On Thu, 25 Jan 2001, Alexander Semenov wrote:
> Try to run 'telnet yoursite', then blindly type 'GET /index.html' and
> press Enter twice.

GET / HTTP/1.0
Host: yoursite:80

   I'd recommend to use netcat utility for this:

echo -e "GET / HTTP/1.0\nHost: yoursite:80\n\n" | nc yoursite 80 >log

Oleg.
----
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list