WebDAV: SUBSCRIBE/UNSUBSCRIBE/POLL

Best, Jan-Pascal van j.p.vanbest at tbm.tudelft.nl
Thu Nov 28 09:35:39 GMT 2002


Hi all,

Exchange server webdav supports a mechanism for subscribing to webdav
events (like "resource deleted", "resource changed", "item added to
folder", etc.). Basically, you send a SUBSCRIBE request to the server
for a webdav resource and get assigned a subscription ID. The you can
use the POLL method to check whether something happened to one or more
of your subscriptions. Alternatively, you can specify a call-back header
with the SUBSCRIBE request (a UDP port). The server will then send
NOTIFY HTTP-like messages when something happens to a subscription,
eliminating the need to POLL the server.

I've attached a simple patch for http.cc to recognize and send the
SUBSCRIBE, POLL and UNSUBSCRIBE methods. Please take a look.

I'm a bit concerned about supporting MS-specific webDAV enhancements,
though. I couldn't find any mention of SUBSCRIBE etc. outside MS docs.
On the other hand, we need to make use of this in KOrganizer, if we want
the UI to update automatically if the calendar on the Exchange server
changes, e.g., when the secretary enters a new appointment.

What do you think?

Cheers

Jan-Pascal

-- 
Jan-Pascal van Best
Delft University of Technology
http://www.tbm.tudelft.nl/webstaf/janb/index.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: subscribe.diff
Type: application/octet-stream
Size: 1710 bytes
Desc: subscribe.diff
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20021128/fb51c91d/attachment.obj>


More information about the kfm-devel mailing list