Hi,

I'm trying to use NSURLConnection in SimpleAgenda to access data
through WebDAV and CalDAV and I run into something (that I probably
found 12 years ago but forgot about..) : the url scheme is http (or
https) so _NSHTTPURLProtocol is used to handle the request and this
class limits the HTTP verbs allowed in -startLoading to a static list.

The problem is that CalDAV requires at least the PROPFIND verb to work
and this verb isn't part of the static list, for a good reason. The
only solution I can think of is to subclass NSURLProtocol and
reimplement to whole -startLoading method to accept WebDAV/CalDAV
extensions but it seems way over complicated just to accept another
verb..

Another solution would be to add an GNUstep extension to allow
overloading the static list but SimpleAgenda would now depends on a
future gnustep base release, not ideal.

Anyway, if anyone has an idea on how to avoid this problem without
copying a +200 lines method, I'm all ears.

Thanks,
Philippe
-- 
Money can buy bandwidth, but latency is forever. John Mashey


Reply via email to