add missing http method

Signed-off-by: Christian Richter <crichter@owncloud.com>
This commit is contained in:
Christian Richter
2023-04-18 09:58:34 +02:00
parent e88a0d7bc3
commit 3d6d4c7c7c

View File

@@ -190,7 +190,7 @@ func Server(cfg *config.Config) *cli.Command {
func (h *StaticRouteHandler) handler() http.Handler {
m := chi.NewMux()
var methods = []string{"PROPFIND", "DELETE", "PROPPATCH", "MKCOL", "COPY", "MOVE", "LOCK", "UNLOCK"}
var methods = []string{"PROPFIND", "DELETE", "PROPPATCH", "MKCOL", "COPY", "MOVE", "LOCK", "UNLOCK", "REPORT"}
for _, k := range methods {
chi.RegisterMethod(k)
}