From 38fef7866475500aa0a13b8f61c9fc1108064080 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Wed, 31 Jan 2024 15:54:07 +0100 Subject: [PATCH] leave it as is --- changedetectionio/content_fetcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changedetectionio/content_fetcher.py b/changedetectionio/content_fetcher.py index ce0d182b..ce051920 100644 --- a/changedetectionio/content_fetcher.py +++ b/changedetectionio/content_fetcher.py @@ -751,7 +751,7 @@ class html_requests(Fetcher): if encoding: r.encoding = encoding - self.headers = dict(r.headers) + self.headers = r.headers if not r.content or not len(r.content): raise EmptyReply(url=url, status_code=r.status_code)