Deletes a resource identified by uri on the server.
The URI can reference a collection, in which case depth should be e_webdav_depth_infinity
. Use depth e_webdav_depth_this when deleting a regular resource, or
null, to let the server use default Depth.
The etag argument is used to avoid clashes when overwriting existing resources. Use null
etag when deleting collection resources or to force the deletion, otherwise provide a valid ETag of a non-collection resource
to verify that the version requested to delete is the same as on the server.
The optional in_headers can contain additional headers to be added to the request. These headers replace any existing in the
request headers, without support for the list-values headers.
Note that the actual usage of etag is also influenced by
avoid_ifmatch property of the associated Source.
| this | |
| uri |
URI of the resource to delete |
| depth |
optional requested depth, can be one of e_webdav_depth_this or e_webdav_depth_infinity, or null |
| etag |
an optional ETag of the resource, or null |
| in_headers |
additional MessageHeaders to be added to the request, or null |
| cancellable |
optional Cancellable object, or null |
|
Whether succeeded. |