WebDAV: SUBSCRIBE/UNSUBSCRIBE/POLL

Simon Hausmann hausmann at kde.org
Thu Nov 28 09:42:38 GMT 2002


On Thu, Nov 28, 2002 at 10:35:39AM +0100, Best, Jan-Pascal van wrote:
> 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?

Would it be possible for you to implement these extensions using the
'davHeader' or the 'customHTTPHeader' metadata properties?


Simon




More information about the kfm-devel mailing list