How to detect a remote webpage is accessible? (in HTTP)

grflanagan grflanagan at
Fri Jan 18 13:32:36 CET 2008

On Jan 18, 6:22 am, "甜瓜" <littlesweetme... at> wrote:
> Howdy, all,
>      I want to use python to detect the accessibility of website.
> Currently, I use urllib
> to obtain the remote webpage, and see whether it fails. But the problem is that
> the webpage may be very large; it takes too long time. Certainly, it
> is no need to download
> the entire page. Could you give me a good and fast solution?
>     Thank you.
> --
> ShenLei

More information about the Python-list mailing list