Respond with 200 OK instead of 204 No Content

This commit is contained in:
Melon 2024-07-18 23:58:15 +01:00
parent f16045e6aa
commit 19764e1358
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

View File

@ -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
}