urllib2 meta-refresh

JanC usenet_spam at janc.invalid
Thu Mar 3 03:46:25 CET 2005

Artificial Life schreef:

> urllib2 does not seem to be able to handle META-REFRESH in an html
> document. I just get back the html to the page that is supposed to
> forward me to the intended page. Any way around this? 

Have a look at the HTTPRefreshProcessor in ClientCookie:


"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9

More information about the Python-list mailing list