Trying to run a very simple local python webserver to serve a directory with some images in different formats like png, jpg and webp.
python3 -m http.server -d /path/webdir 8090
Unfortunately, webp images are served with the wrong header: Content-type: application/octet-stream instead of Content-type: image/webp
How can I fix this? (still using a oneliner to start the python webserver)
Yes I know php is doing it fine:
php -t /path/webdir -S localhost:8090