main2
Bob Mottram 2019-09-14 18:55:52 +01:00
parent 7285eaf7e5
commit aaa396b6c9
1 changed files with 1 additions and 1 deletions

View File

@ -864,7 +864,7 @@ class PubServer(BaseHTTPRequestHandler):
self._set_headers('image/png',len(mediaBinary),cookie) self._set_headers('image/png',len(mediaBinary),cookie)
elif mediaFilename.endswith('.jpg'): elif mediaFilename.endswith('.jpg'):
self._set_headers('image/jpeg',len(mediaBinary),cookie) self._set_headers('image/jpeg',len(mediaBinary),cookie)
elif mediaFilename.endswith('.gof'): elif mediaFilename.endswith('.gif'):
self._set_headers('image/gif',len(mediaBinary),cookie) self._set_headers('image/gif',len(mediaBinary),cookie)
else: else:
self._404() self._404()