Version 0.1.3
This release fixes some minor issues around content-type checking for HTML-related diffs (html_diff_render
and links_diff
). Both lean towards making content-type checking more lenient; our goal is to stop wasted diffing effort early when we know it's not HTML, not to only diff things are definitely HTML:
-
Ignore invalid
Content-Type
headers. These happen fairly frequently in the wild — especially on HTML pages — and we now ignore them instead of treating them as implying the content is not HTML. (#76) -
Ignore the
application/x-download
content type. This content-type isn't really about the content, but is frequently used to make a browser download a file rather than display it inline. It no longer affects parsing or diffing. (#105)
This release also adds some nice sidebar links for documentation, the changelog, issues, and source code to PyPI. (#107)