webdav: add MOVE support to server

This commit is contained in:
Simon Ser
2020-01-22 11:43:36 +01:00
parent 83cb67070c
commit 3268102d5a
4 changed files with 87 additions and 0 deletions

View File

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