diff --git a/.gitignore b/.gitignore index 2396af2..b3cb149 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,7 @@ # Created by .gitignore support plugin (hsz.mobi) +.DS_Store + .vscode ### Python template diff --git a/docs/source/release-history.rst b/docs/source/release-history.rst index 677db85..e331098 100644 --- a/docs/source/release-history.rst +++ b/docs/source/release-history.rst @@ -2,10 +2,10 @@ Release History =============== -In Development --------------- +Version 0.1.6 (2025-01-24) +-------------------------- -n/a +Remove stray logging statements that should not have been included in v0.1.5. (:issue:`194`) Version 0.1.5 (2025-01-23) diff --git a/web_monitoring_diff/content_type.py b/web_monitoring_diff/content_type.py index dd52e46..c25400c 100644 --- a/web_monitoring_diff/content_type.py +++ b/web_monitoring_diff/content_type.py @@ -71,7 +71,6 @@ def is_not_html(text, headers=None, check_options='normal'): - `nosniff` uses the `Content-Type` header but does not sniff. - `ignore` doesn’t do any checking at all. """ - print(f'#is_not_html: check_options="{check_options}", headers={headers}, text={text[:500]}') if headers and (check_options == 'normal' or check_options == 'nosniff'): content_type = headers.get('Content-Type', '').split(';', 1)[0].strip() if content_type and VALID_CONTENT_TYPE_PATTERN.match(content_type):