URI http get

usgog at yahoo.com usgog at yahoo.com
Fri Dec 2 00:39:23 CET 2005

I have a website and by accessing it from the browser, for example:
"http://www.xxxx.com:1111/status", the web page will display "ok" only
if the URI is up. And it will return "website could not be found" alert
if the URI is down.

In Python, is there a way to retrieve "ok" programmatically and detect
alert if the URI is down?

More information about the Python-list mailing list