refactor: replace WebDAV LOCK stub with moka-backed lock store (auto-expire TTL)

This commit is contained in:
Dionisio
2026-03-03 11:49:52 +01:00
parent 0cd544ab96
commit 6f30ac761f
5 changed files with 259 additions and 24 deletions
+5
View File
@@ -78,6 +78,11 @@ impl AppError {
Self::new(StatusCode::CONFLICT, message, "Conflict")
}
/// Create a 423 Locked error (WebDAV).
pub fn locked(message: impl Into<String>) -> Self {
Self::new(StatusCode::LOCKED, message, "Locked")
}
/// Create a 415 Unsupported Media Type error.
pub fn unsupported_media_type(message: impl Into<String>) -> Self {
Self::new(