KIO::del without calling KIO::stat?

Reinhold Kainhofer reinhold at kainhofer.com
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?

Thanks,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: reinhold at kainhofer.com, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, 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: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050706/1d3e9d9c/attachment.sig>


More information about the kde-core-devel mailing list