1 Commits
Author SHA1 Message Date
eSlider a14466ce7a feat(webdav): create by extension and update by id
Release / GoReleaser (push) Skipped
Tests / Test (Go stable) (push) Successful in 1m19s
Tests / Secret scan (gitleaks) (push) Successful in 5s
Tests / Test (Go 1.25) (push) Successful in 1m21s
Add CreateDavFile/CreateDavTextFile/CreateDavHtmlFile to create an empty file
(the upload endpoint rejects empty bodies) and UpdateDavFile to replace an
existing file in place via PUT /files/{id}/update.

The /upload endpoint creates a second file when the title already exists, so a
WebDAV overwrite must go through /update to keep a single file. uploadReader now
takes the HTTP method.
2026-10-06 13:53:18 +00:00