mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 16:35:10 +00:00
fix(dav): render DAV exceptions as XML
This commit is contained in:
@@ -445,8 +445,8 @@
|
||||
[self logWithFormat:
|
||||
@"TODO: copy not implemented:\n target: %@\n new name: %@",
|
||||
_target, _name];
|
||||
return [NSException exceptionWithHTTPStatus:405 /* not allowed */
|
||||
reason:@"this object cannot be copied via WebDAV"];
|
||||
return [NSException exceptionWithDAVStatus: 405 /* not allowed */
|
||||
reason: @"this object cannot be copied via WebDAV"];
|
||||
}
|
||||
|
||||
/* acls */
|
||||
|
||||
Reference in New Issue
Block a user