KIO::del without calling KIO::stat?

Reinhold Kainhofer reinhold at
Wed Jul 6 16:26:03 BST 2005

In the groupdav resource, I implement deleting an event from the groupware 
server by a simple KIO::del( url, false, false ), which does a normal dav 
delete on the server. Now the problem is that the DeleteJob first checks if 
the url exists by calling KIO::stat. 
The groupdav spec, however, does not require any groupdav server to even 
support such a propfind request, so this violates the groupdav spec (and 
actually fails with some GroupDAV implementations!). The client shall just 
send the http delete to the server, and from the response code, one can see 
the success anyway (and by the strong ETag matching, events are only deleted 
if they are unchanged on the server).

So, is there any way to prevent KIO::del from calling KIO::stat before sending 
the delete?


Reinhold Kainhofer, Vienna University of Technology, Austria
email: reinhold at,
 * Financial and Actuarial Mathematics, TU Wien,
 * K Desktop Environment,, KOrganizer / KPilot maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the kde-core-devel mailing list