Open sebastienbeau opened 6 months ago
When storing image on amazon s3, ovh or scaleway. The minetype must be set in order to have the right mimetype when requesting the image publicly.
Note : when using the api put_file it will guess the mimetype automatically : https://github.com/fsspec/s3fs/blob/47ffcfad33f8c74974a1515cb266168ede6cf4b5/s3fs/core.py#L1176
Hi @lmignon, some modules you are maintaining are being modified, check this out!
Cherry picked in 17.0 to test with a local minio, mimetype is now correctly set.
When storing image on amazon s3, ovh or scaleway. The minetype must be set in order to have the right mimetype when requesting the image publicly.
Note : when using the api put_file it will guess the mimetype automatically : https://github.com/fsspec/s3fs/blob/47ffcfad33f8c74974a1515cb266168ede6cf4b5/s3fs/core.py#L1176