This little patch allowes webchecker.py to handle Content-Type headers like 'text/html; charset=iso-8859-1'. -- Maximillian Dornseif diff -ur Python-2.2.1/Tools/webchecker/webchecker.py Python-2.2.1-md/Tools/webchecker/webchecker.py --- Python-2.2.1/Tools/webchecker/webchecker.py Mon Mar 11 11:04:07 2002 +++ Python-2.2.1-md/Tools/webchecker/webchecker.py Tue May 28 12:54:00 2002 @@ -548,7 +548,7 @@ if url[-1:] == "/": return 1 ctype, encoding = mimetypes.guess_type(url) - if ctype == 'text/html': + if ctype and ctype.startswith('text/html'): return 1 else: self.note(1, " Not HTML, mime type %s", ctype)