[CalendarServer-users] REPORT request and iCal Server
Helge Heß
me at helgehess.eu
Fri Oct 26 13:14:52 PDT 2007
On 26.10.2007, at 21:42, Pascal Robert wrote:
> I'm trying to talk to iCal Server from a WebObjects app with
> CalDAV4J (Java API from the Chandler Project). I can connect and
> get a specific calendar, but I'm trying to do a REPORT request:
>
> REPORT /calendars/users/diradmin/calendar/ HTTP/1.1
>
> and I'm getting a 401 HTTP error:
>
> HTTP/1.1 401 Unauthorized
> WWW-Authenticate: digest nonce="174385117913098369521756197356",
> realm="/Search", algorithm="md5"
>
> In the Chandler examples, they are querying "/cosmo/dav/test/
> collection", so I guess I'm not querying the good thing or I don't
> understand the REPORT query. What is the correct URL for a REPORT
> query ?
The URL just fine. The 401 response just means that you need to
provide a username/password (should be pretty obvious ;-).
Apparently CalDAV4J uses org.apache.commons.httpclient, which
probably has the necessary hooks to deal with authentication.
Greets,
Helge
--
http://www.helgehess.eu/
More information about the calendarserver-users
mailing list