We have approximately 250k images spread over 12000 folders hosted on S3. Some of them have been uploaded as content-type image/jpeg and some have been uploaded as binary/octet-stream. We also have a few partners that have scripts that automatically upload images and they seem to be inconsistent with the headers as well. Is there anyway to force all past, present and future images are served with the Content-Type header being set to image/jpeg?
I tried using S3 Bucket to do it but it doesn't seem to do much. I was wondering if there's a script or command I can run that would automatically do this.
Thanks
response-content-type=image/jpeg
to the URL. It's unfortunately not possible on anonymous calls to an S3 URL. – ceejayoz