[PR #991] [MERGED] Add mime.type for yaml #1096

Closed
opened 2026-03-03 12:33:02 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fsouza/fake-gcs-server/pull/991
Author: @fsouza
Created: 11/16/2022
Status: Merged
Merged: 11/16/2022
Merged by: @fsouza

Base: mainHead: add-mime-type-for-yaml


📝 Commits (1)

📊 Changes

1 file changed (+11 additions, -0 deletions)

View changed files

📝 main.go (+11 -0)

📄 Description

According to
https://www.ietf.org/archive/id/draft-ietf-httpapi-yaml-mediatypes-00.html, we should be using application/yaml, but since GCS uses application/x-yaml, and we emulate GCS, we stick to what GCS' behavior.

Closes #990.


🔄 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/fsouza/fake-gcs-server/pull/991 **Author:** [@fsouza](https://github.com/fsouza) **Created:** 11/16/2022 **Status:** ✅ Merged **Merged:** 11/16/2022 **Merged by:** [@fsouza](https://github.com/fsouza) **Base:** `main` ← **Head:** `add-mime-type-for-yaml` --- ### 📝 Commits (1) - [`a0bc438`](https://github.com/fsouza/fake-gcs-server/commit/a0bc4382618b893d3a676f7ac0ce8afc499c01e5) Add mime.type for yaml ### 📊 Changes **1 file changed** (+11 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `main.go` (+11 -0) </details> ### 📄 Description According to https://www.ietf.org/archive/id/draft-ietf-httpapi-yaml-mediatypes-00.html, we should be using `application/yaml`, but since GCS uses application/x-yaml, and we emulate GCS, we stick to what GCS' behavior. Closes #990. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 12:33:02 +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/fake-gcs-server#1096
No description provided.