Skip to content

Commit

Permalink
Hotfix: remove stray print, prep v0.1.6 (#194)
Browse files Browse the repository at this point in the history
I botched it on v0.1.5. Should not have used a print statement, and then should not have left it in the PR.
  • Loading branch information
Mr0grog authored Jan 25, 2025
1 parent 3ee9191 commit ec31699
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Created by .gitignore support plugin (hsz.mobi)

.DS_Store

.vscode

### Python template
Expand Down
6 changes: 3 additions & 3 deletions docs/source/release-history.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion web_monitoring_diff/content_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit ec31699

Please sign in to comment.