From 9094f8327ea9a999fca14ec3ba92312d93cbefa1 Mon Sep 17 00:00:00 2001 From: MrMelon54 Date: Fri, 19 Jul 2024 00:08:18 +0100 Subject: [PATCH] Change this too --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index 3f7ea13..85028e2 100644 --- a/server.go +++ b/server.go @@ -292,7 +292,7 @@ func ServePrincipal(w http.ResponseWriter, r *http.Request, options *ServePrinci allow := []string{http.MethodOptions, "PROPFIND", "REPORT", "DELETE", "MKCOL"} w.Header().Add("DAV", strings.Join(caps, ", ")) w.Header().Add("Allow", strings.Join(allow, ", ")) - w.WriteHeader(http.StatusNoContent) + w.WriteHeader(http.StatusOK) case "PROPFIND": if err := servePrincipalPropfind(w, r, options); err != nil { internal.ServeError(w, err)