From 1a70ece63061ce01441df779734d734f9b002500 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 29 May 2020 13:45:11 +0100 Subject: [PATCH] Favicon mime type --- daemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon.py b/daemon.py index f6789c911..eb992dd0b 100644 --- a/daemon.py +++ b/daemon.py @@ -1831,7 +1831,7 @@ class PubServer(BaseHTTPRequestHandler): if self.server.iconsCache.get('favicon.ico'): favBinary = self.server.iconsCache['favicon.ico'] self._set_headers_etag(faviconFilename, - 'image/png', + 'image/x-icon', favBinary, cookie, callingDomain) self._write(favBinary) @@ -1841,7 +1841,7 @@ class PubServer(BaseHTTPRequestHandler): with open(faviconFilename, 'rb') as favFile: favBinary = favFile.read() self._set_headers_etag(faviconFilename, - 'image/png', + 'image/x-icon', favBinary, cookie, callingDomain) self._write(favBinary)