Due to the nature of edge network storage systems it's much easier to store everything as extension-less files with the "uniform" binary Content-Type: application/octet-stream. The problem is that browsers don't treat this as an image and instead just download the file (What if it's not an image? etc).
What we should do is have a Google Cloud Function that watches for new files and rewrites their Content-Type header to the correct mime-type.
Due to the nature of edge network storage systems it's much easier to store everything as extension-less files with the "uniform" binary
Content-Type: application/octet-stream
. The problem is that browsers don't treat this as an image and instead just download the file (What if it's not an image? etc).What we should do is have a Google Cloud Function that watches for new files and rewrites their
Content-Type
header to the correct mime-type.