From f5b508b766ee3e8d81d75d3c0ec0315a5ce21a5a Mon Sep 17 00:00:00 2001 From: MrMelon54 Date: Thu, 18 Jul 2024 23:58:15 +0100 Subject: [PATCH] Respond with 200 OK instead of 204 No Content --- internal/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/server.go b/internal/server.go index b76443d..3780c8e 100644 --- a/internal/server.go +++ b/internal/server.go @@ -125,7 +125,7 @@ func (h *Handler) handleOptions(w http.ResponseWriter, r *http.Request) error { w.Header().Add("DAV", strings.Join(caps, ", ")) w.Header().Add("Allow", strings.Join(allow, ", ")) - w.WriteHeader(http.StatusNoContent) + w.WriteHeader(http.StatusOK) return nil }