WebDAV RFC 4331 quota properties (v0.3) #9

Merged
Cordy merged 2 commits from feat/webdav-quota into main 2026-07-21 19:09:33 +00:00
Owner

Builds on the quota-reporting PR (#8): surface capacity to WebDAV clients so Finder/rclone/Cyberduck show free space.

  • PROPFIND now includes D:quota-available-bytes and D:quota-used-bytes (RFC 4331) on the collection target, populated from storage.Usager (Free / Used).
  • Feature-detected: backends without Usager (S3) simply omit them; failures to read usage omit them rather than erroring the PROPFIND.
  • Collection-scoped per the RFC — file resources don't carry them.
  • Tests: props present on a collection PROPFIND (POSIX store), absent on a file resource.

Additive; no change to existing PROPFIND behaviour for other properties.

Builds on the quota-reporting PR (#8): surface capacity to WebDAV clients so Finder/rclone/Cyberduck show free space. - PROPFIND now includes `D:quota-available-bytes` and `D:quota-used-bytes` (RFC 4331) on the **collection target**, populated from `storage.Usager` (`Free` / `Used`). - Feature-detected: backends without `Usager` (S3) simply omit them; failures to read usage omit them rather than erroring the PROPFIND. - Collection-scoped per the RFC — file resources don't carry them. - Tests: props present on a collection PROPFIND (POSIX store), absent on a file resource. Additive; no change to existing PROPFIND behaviour for other properties.
Cordy merged commit 6686459a14 into main 2026-07-21 19:09:33 +00:00
Sign in to join this conversation.
No reviewers
No labels
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: Cordy/Cairn#9
No description provided.