mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #402] Return error 400 for unsupported propfind depths
#214
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @grote on GitHub (Jun 14, 2024).
Original GitHub issue: https://github.com/sigoden/dufs/issues/402
I understand this is a minimal implementation, not fully implementing all spec, but here's a tiny reasonable request:
Return error
400for unsupported propfind depths (I guess anything other than0and1) like nginx does. The depth is in the header and should be readily available.Related to https://github.com/sigoden/dufs/issues/387
@grote commented on GitHub (Jun 14, 2024):
I don't really know rust, but looks like this is already returned for missing depths here:
dc7a7cbb3f/src/server.rs (L964-L973)@grote commented on GitHub (Jun 14, 2024):
Awesome, thanks a lot for the quick fix!