[PR #184] [MERGED] fix: cors allow-request-header add content-type #509

Closed
opened 2026-04-08 16:53:13 +03:00 by zhus · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/sigoden/dufs/pull/184
Author: @horizon0514
Created: 2/26/2023
Status: Merged
Merged: 2/27/2023
Merged by: @sigoden

Base: mainHead: fix/content-type


📝 Commits (2)

  • 9487d48 fix: cors allow-request-header add content-type
  • b7bc443 add content-type test

📊 Changes

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

View changed files

📝 src/server.rs (+1 -1)
📝 tests/cors.rs (+1 -1)

📄 Description

cors upload docx, excel files need content-type


🔄 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/sigoden/dufs/pull/184 **Author:** [@horizon0514](https://github.com/horizon0514) **Created:** 2/26/2023 **Status:** ✅ Merged **Merged:** 2/27/2023 **Merged by:** [@sigoden](https://github.com/sigoden) **Base:** `main` ← **Head:** `fix/content-type` --- ### 📝 Commits (2) - [`9487d48`](https://github.com/sigoden/dufs/commit/9487d48eb0bc9325f9585e40dee49637acc79c93) fix: cors allow-request-header add content-type - [`b7bc443`](https://github.com/sigoden/dufs/commit/b7bc4439b06446ad852c8e79fb051e95c5eacfbc) add content-type test ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/server.rs` (+1 -1) 📝 `tests/cors.rs` (+1 -1) </details> ### 📄 Description cors upload `docx, excel` files need content-type --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
zhus added the pull-request label 2026-04-08 16:53:13 +03:00
zhus closed this issue 2026-04-08 16:53:13 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#509