Re: [caldav] [calsify] Looking for resources to debug webdav server
Helge Hess <helge.hess@opengroupware.org> Tue, 28 July 2009 15:02 UTC
Return-Path: <helge.hess@opengroupware.org>
X-Original-To: caldav@core3.amsl.com
Delivered-To: caldav@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix)
with ESMTP id C3E673A6FE4 for <caldav@core3.amsl.com>;
Tue, 28 Jul 2009 08:02:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5
tests=[BAYES_00=-2.599, J_CHICKENPOX_43=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com
[127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1aGPcqHM9z-b for
<caldav@core3.amsl.com>; Tue, 28 Jul 2009 08:02:47 -0700 (PDT)
Received: from mail.mdlink.net (mail.mdlink.net [213.211.192.40]) by
core3.amsl.com (Postfix) with ESMTP id 81DB03A6FE2 for <caldav@ietf.org>;
Tue, 28 Jul 2009 08:02:47 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by
mail.mdlink.net (Postfix) with ESMTP id 3897B1AA0C6B;
Tue, 28 Jul 2009 17:02:48 +0200 (CEST)
Received: from helge-111.in.skyrix.com (xl0-wan.skyrix.com [213.211.192.114])
by mail.mdlink.net (Postfix) with ESMTP id 078CE1AA02D0;
Tue, 28 Jul 2009 17:02:48 +0200 (CEST)
Message-Id: <339147D8-4BD0-4B98-942B-77A3D345E719@opengroupware.org>
From: Helge Hess <helge.hess@opengroupware.org>
To: Rick DeNatale <rick.denatale@gmail.com>
In-Reply-To: <deb2337a0907280732q1db7b22ehc4199fdf0676bb12@mail.gmail.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Date: Tue, 28 Jul 2009 17:02:47 +0200
References: <deb2337a0907280732q1db7b22ehc4199fdf0676bb12@mail.gmail.com>
X-Mailer: Apple Mail (2.935.3)
Cc: caldav@ietf.org
Subject: Re: [caldav] [calsify] Looking for resources to debug webdav server
X-BeenThere: caldav@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <caldav.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/caldav>,
<mailto:caldav-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/caldav>
List-Post: <mailto:caldav@ietf.org>
List-Help: <mailto:caldav-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/caldav>,
<mailto:caldav-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Jul 2009 15:02:48 -0000
Hi, On 28.07.2009, at 16:32, Rick DeNatale wrote: > I'm trying to add webdav support to an existing ruby on rails > application which already supports calendars. those might be helpful: http://www.ruby-forum.com/search?query=caldav&submit=Search > First, for the first connection to google calendar in establishing an > account, ical.app is sending some propfinds which I am not seeing when > it tries to establish an account with my server app. I wouldn't be surprised if iCal does some Google specific stuff. Which iCal.app version are we talking about? You are not using the Google tool to setup iCal.app for GCal? > Instead it sends > a propfind which only occurs after the connection setup handshaking > with google cal. > > <?xml version="1.0" encoding="utf-8"?> > <x0:propfind xmlns:x2="http://calendarserver.org/ns/" > xmlns:x1="urn:ietf:params:xml:ns:caldav" xmlns:x0="DAV:"> > <x0:prop> > <x1:calendar-home-set/> > <x1:calendar-user-address-set/> > <x1:schedule-inbox-URL/> > <x1:schedule-outbox-URL/> > <x2:dropbox-home-URL/> > <x2:notifications-URL/> > <x0:displayname/> > </x0:prop> > </x0:propfind> Yes, thats a typical entry point query used to discover the CalDAV account setup. > Second, when I respond to the propfind with what I think is a valid > response, same headers, and valid xml for the body, ical.app doesn't > seem to like it The XML looks good. I assume that '/caldav/calendar/Personal/' exactly matches the URL iCal is requesting? (full HTTP request dump would be helpful) Is there a 401 step involved? I would recommend installing Darwin CalendarServer (calendarserver.org) as a reference and see what this is emitting. Eg it sends: ---snip--- <calendar-home-set xmlns='urn:ietf:params:xml:ns:caldav'> <href xmlns='DAV:'>/calendars/__uids__/41770B64-643D-40FC- B832-9EC9BFE68861</href> </calendar-home-set> ---snap--- Stupid try: maybe this specific iCal codepath has no XML namespace processing ...? > So, does anyone have any suggestions about where I might get some help > in figuring this out? This mailing list is a starting point. CalConnect provides additional resources, but you need to be a member for accessing those ... Greets, Helge -- Helge Hess http://zideone.com/
- [caldav] Fwd: Looking for resources to debug webd… Rick DeNatale
- Re: [caldav] [calsify] Looking for resources to d… Helge Hess
- Re: [caldav] Fwd: Looking for resources to debug … Cyrus Daboo