WebDAV: SUBSCRIBE/UNSUBSCRIBE/POLL
Hamish Rodda
meddie at yoyo.its.monash.edu.au
Sat Nov 30 01:04:32 GMT 2002
Hi Jan-Pascal,
On Thu, 28 Nov 2002 08:35 pm, 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?
I think it's reasonable enough to include them... no sense in punishing
ourselves by standing on principle here. I reckon you shold go for it.
Cheers,
Hamish.
More information about the kfm-devel
mailing list