accept-ranges for images

main
Bob Mottram 2022-12-17 13:17:53 +00:00
parent d741e68dc0
commit 3ecd534568
1 changed files with 1 additions and 0 deletions

View File

@ -1080,6 +1080,7 @@ class PubServer(BaseHTTPRequestHandler):
# self.send_header('ETag', '"' + etag + '"')
if last_modified:
self.send_header('last-modified', last_modified)
self.send_header('accept-ranges', 'bytes')
self.end_headers()
def _etag_exists(self, media_filename: str) -> bool: