Check URL --> Simply? (fwd)

David Eppstein eppstein at ics.uci.edu
Thu Aug 16 07:03:25 CEST 2001


In article <tnmkhd51goof0b at xo.supernews.co.uk>,
 "Julius Welby" <jwelby at waitrose.com> wrote:

> > Ever more opportunity at shameless self-promotion.  This zillion special
> > cases of 404-ish pages is something I use as an example in my
> > forthcoming book _Text Processing in Python_ (a few more months until
> > done).  Here's the code I present as an attempt at recognizing what only
> > humans can:

Humans can't usually see the http response line with the actual 404 number 
in it in place of the 200 indicating an ok page, but machines can -- why 
don't you use that?
-- 
David Eppstein       UC Irvine Dept. of Information & Computer Science
eppstein at ics.uci.edu http://www.ics.uci.edu/~eppstein/



More information about the Python-list mailing list