webdav: add COPY support to server

This commit is contained in:
Simon Ser
2020-01-22 13:00:42 +01:00
parent fda38c8f93
commit 6d229f4e8a
4 changed files with 131 additions and 10 deletions

View File

@@ -277,6 +277,10 @@ func (b *backend) Mkcol(r *http.Request) error {
return internal.HTTPErrorf(http.StatusForbidden, "carddav: address book creation unsupported")
}
func (b *backend) Copy(r *http.Request, dest *internal.Href, recursive, overwrite bool) (created bool, err error) {
panic("TODO")
}
func (b *backend) Move(r *http.Request, dest *internal.Href, overwrite bool) (created bool, err error) {
panic("TODO")
}