From 77f69f2b1e6f772e6811d12381b4699ffb360bbf Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Mon, 10 Feb 2025 19:34:29 +0100 Subject: [PATCH] add new error code --- radicale/httputils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/radicale/httputils.py b/radicale/httputils.py index f3c53965..23cc3677 100644 --- a/radicale/httputils.py +++ b/radicale/httputils.py @@ -79,6 +79,9 @@ DIRECTORY_LISTING: types.WSGIResponse = ( client.FORBIDDEN, (("Content-Type", "text/plain"),), "Directory listings are not supported.") +INSUFFICIENT_STORAGE: types.WSGIResponse = ( + client.INSUFFICIENT_STORAGE, (("Content-Type", "text/plain"),), + "Insufficient Storage. Please contact the administrator.") INTERNAL_SERVER_ERROR: types.WSGIResponse = ( client.INTERNAL_SERVER_ERROR, (("Content-Type", "text/plain"),), "A server error occurred. Please contact the administrator.")