diff --git a/internal/server.go b/internal/server.go index a27e771..f9d1f7a 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 }