webdav: add MKCOL support to server

This commit is contained in:
Simon Ser
2020-01-21 22:05:59 +01:00
parent a2ad695145
commit e9e1f102de
4 changed files with 36 additions and 1 deletions

View File

@@ -268,3 +268,7 @@ func (b *backend) Put(r *http.Request) error {
func (b *backend) Delete(r *http.Request) error {
panic("TODO")
}
func (b *backend) Mkcol(r *http.Request) error {
return internal.HTTPErrorf(http.StatusForbidden, "carddav: address book creation unsupported")
}