[PR #1282] [MERGED] Warn about missing MIME types instead of exiting #1900

Closed
opened 2026-03-04 02:02:42 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1282
Author: @gaul
Created: 4/29/2020
Status: Merged
Merged: 5/3/2020
Merged by: @ggtakec

Base: masterHead: mime


📝 Commits (1)

  • 2cc88b9 Warn about missing MIME types instead of exiting

📊 Changes

2 files changed (+3 additions, -6 deletions)

View changed files

📝 src/curl.cpp (+2 -2)
📝 src/s3fs.cpp (+1 -4)

📄 Description

s3fs uses the MIME types file to set Content-Type for uploaded
objects. Most distribution packages should install this via
recommended (not required) dependencies. Users compiling from source
may not have this installed and s3fs should not prevent launching
since most users do not care about Content-Type. Instead warn about
MIME types absence. Fixes #1270.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/1282 **Author:** [@gaul](https://github.com/gaul) **Created:** 4/29/2020 **Status:** ✅ Merged **Merged:** 5/3/2020 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `mime` --- ### 📝 Commits (1) - [`2cc88b9`](https://github.com/s3fs-fuse/s3fs-fuse/commit/2cc88b933f409d987fafb7faed3a754df904796b) Warn about missing MIME types instead of exiting ### 📊 Changes **2 files changed** (+3 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `src/curl.cpp` (+2 -2) 📝 `src/s3fs.cpp` (+1 -4) </details> ### 📄 Description s3fs uses the MIME types file to set Content-Type for uploaded objects. Most distribution packages should install this via recommended (not required) dependencies. Users compiling from source may not have this installed and s3fs should not prevent launching since most users do not care about Content-Type. Instead warn about MIME types absence. Fixes #1270. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:02:42 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#1900
No description provided.