[PR #222] [CLOSED] server: allow more webdav related header with CORS #522

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

📋 Pull Request Information

Original PR: https://github.com/sigoden/dufs/pull/222
Author: @perrinjerome
Created: 6/2/2023
Status: Closed

Base: mainHead: feat/cors-allow-cache-control


📝 Commits (1)

  • b1c7054 server: allow more webdav related header with CORS

📊 Changes

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

View changed files

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

📄 Description

Overwrite is used with COPY or MOVE ( http://www.webdav.org/specs/rfc2518.html#HEADER_Overwrite )

Cache-Control can be set by client to disable cache.

Fixes #221


🔄 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/222 **Author:** [@perrinjerome](https://github.com/perrinjerome) **Created:** 6/2/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/cors-allow-cache-control` --- ### 📝 Commits (1) - [`b1c7054`](https://github.com/sigoden/dufs/commit/b1c7054d71607602fd04cdcfa53401f459590a9b) server: allow more webdav related header with CORS ### 📊 Changes **2 files changed** (+4 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/server.rs` (+3 -1) 📝 `tests/cors.rs` (+1 -1) </details> ### 📄 Description `Overwrite` is used with COPY or MOVE ( http://www.webdav.org/specs/rfc2518.html#HEADER_Overwrite ) `Cache-Control` can be set by client to disable cache. Fixes #221 --- <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:16 +03:00
zhus closed this issue 2026-04-08 16:53:16 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#522