HTML DOM parser?

Peter Hansen peter at engcorp.com
Fri Jul 19 09:47:24 EDT 2002


Paul Rubin wrote:
> 
> Peter Hansen <peter at engcorp.com> writes:
> > My choice of www.nightsong.com was of course because that's the
> > domain the OP posted from.  I didn't stop to think someone might
> > have a "www" subdomain which actually refused a connect request...
> > strange if you ask me.
> 
> www.nightsong.com doesn't refuse connect requests.  It accepts
> connections and sends back a valid HTTP 403 response indicating
> there's no page available at "/" (e.g. no index.html at the document
> root).  If you use an interior URL like
> <http://www.nightsong.com/phr/python/calc.py> it should work fine.

My apologies for using the wrong phrasing.  What I meant to say
was I didn't stop to think someone might have a "www" subdomain
which did not provide a valid HTTP 200 response at the top level,
which seems to me to be extremely unusual.  (Not, I'm quite sure
many other domains do this too... it just seems unusual.)

-Peter



More information about the Python-list mailing list