From: Michael Tremer Date: Wed, 10 Dec 2025 16:54:41 +0000 (+0000) Subject: sources: Fix sending the Etag X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45981f152ed24f618a39ef9dbe4a8b3daf70d32e;p=dnsbl.git sources: Fix sending the Etag Obviously this must be sent in an If-None-Match header. Signed-off-by: Michael Tremer --- diff --git a/src/dnsbl/sources.py b/src/dnsbl/sources.py index e467101..e1f476d 100644 --- a/src/dnsbl/sources.py +++ b/src/dnsbl/sources.py @@ -248,7 +248,7 @@ class Source(sqlmodel.SQLModel, database.BackendMixin, table=True): # If we don't have the timestamp, we will send the ETag elif self.etag: - headers["ETag"] = self.etag + headers["If-None-Match"] = self.etag return headers