linkchecker/tests/checker/data/empty.html.result
Marius Gedminas 5bd1fb4e36 Fix internal error on empty HTML files
When BeautifulSoup finds an empty file on disk, it sets
original_encoding to None.  It doesn't matter what encoding we pick for
empty files, so let's just pick one.

I don't know if there are any circumstances where BeautifulSoup might
set the encoding to None for a non-empty file.

Closes #392.
2020-05-21 19:01:33 +03:00

5 lines
180 B
Text

url file://%(curdir)s/%(datadir)s/empty.html
cache key file://%(curdir)s/%(datadir)s/empty.html
real url file://%(curdir)s/%(datadir)s/empty.html
name %(datadir)s/empty.html
valid