diff --git a/changedetectionio/content_fetcher.py b/changedetectionio/content_fetcher.py index ce0d182b7..ce0519205 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)