Hum, I think you forgot a slash before calendars, it should be :

        POST /calendars/...

not

        POST calendars/

Hi group,
I was trying to write a free busy look up query to query the calendar server which looks like

POST calendars/__uids__/3F23826D-26EC-4621-BA07-FD001E6DEFBF/outbox/ HTTP/1.1
Host: www.XXX.com:XXXX
Authorization: Digest username="temp", realm="/Search", nonce="8694934201095829038326975621", uri="calendars/__uids__/ 3F23826D-26EC-4621-BA07-FD001E6DEFBF/outbox/", response="9c5b7e7a06eac5314bf8659a4d5869aa", algorithm="md5"
Content-Length: 429
Content-Type: text/calendar

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//PYVOBJECT//NONSGML Version 1//EN
BEGIN:VFREEBUSY
UID:1234
DTSTART:20090404T000000
DTEND:20090405T000000
ATTENDEE:principals/__uids__/C84721CA-2800-40B6-AF6C-E78E00124218/
DTSTAMP:20090610T171240
ORGANIZER:/principals/__uids__/3F23826D-26EC-4621-BA07-FD001E6DEFBF/
SUMMARY:Availability for principals/__uids__/C84721CA-2800-40B6-AF6C- E78E0
 0124218/
END:VFREEBUSY
END:VCALENDAR

here the URL of the POST is my outbox URL
URL of the ATTENDEE is the URL of the principal of the Attendee
URL of the Organizer is my principal URL

but the server always reply with
HTTP/1.1 405 Method Not Allowed
Content-Length: 213
Server: Twisted/2.5.0 TwistedWeb/[twisted.web2, version 0.2.0]
DAV: 1, access-control
Allow: ACL, COPY, DELETE, GET, HEAD, LOCK, MKCOL, MOVE, OPTIONS, PROPFIND, PROPPATCH, PUT, REPORT, TRACE, UNLOCK
Date: Wed, 10 Jun 2009 22:12:40 GMT
Content-Type: text/html
<html><head><title>405 Method Not Allowed</title></ head><body><h1>Method Not Allowed</h1>The requested method POST is not supported by calendars/__uids__/3F23826D-26EC-4621-BA07- FD001E6DEFBF/outbox/.</body></html>


Can you please suggest what is the error,, I checked ical using tcpflow and even it is doing kind of same thing,, but I am not able to figure out where is the error

Thanks
Arun
_______________________________________________
calendarserver-users mailing list
calendarserver-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users


-------------------------------------------------------
Pascal Robert

http://www.macti.ca | http://www.linkedin.com/in/macti

Skype | Twitter | AIM/iChat : MacTICanada

_______________________________________________
calendarserver-users mailing list
calendarserver-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Reply via email to