mirror of
https://github.com/sigoden/dufs.git
synced 2026-06-07 23:16:54 +03:00
[PR #687] [CLOSED] fix: skip plain directory listing on HEAD requests #5502
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?
📋 Pull Request Information
Original PR: https://github.com/sigoden/dufs/pull/687
Author: @jgoedeke
Created: 4/23/2026
Status: ❌ Closed
Base:
main← Head:main📝 Commits (1)
7eeb770fix: skip plain directory listing on HEAD requests📊 Changes
2 files changed (+17 additions, -0 deletions)
View changed files
📝
src/server.rs(+16 -0)📝
tests/http.rs(+1 -0)📄 Description
Related to #682.
#686 improved exact-path metadata lookup for files via
?json, but plain directoryHEADrequests still take the full directory listing path. This PR does not add a new metadata API. It only avoids unnecessary work for the existing plain directoryHEADcase.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.