![]() |
2012-07-17
, 21:43
|
Posts: 58 |
Thanked: 28 times |
Joined on Aug 2007
@ Buenos Aires, Argentina
|
#3
|
![]() |
2012-07-18
, 03:04
|
Posts: 121 |
Thanked: 53 times |
Joined on Aug 2006
@ Alexandria, VA, USA
|
#4
|
![]() |
2012-07-19
, 17:55
|
Posts: 121 |
Thanked: 53 times |
Joined on Aug 2006
@ Alexandria, VA, USA
|
#5
|
![]() |
2012-07-20
, 07:41
|
Moderator |
Posts: 5,320 |
Thanked: 4,464 times |
Joined on Oct 2009
|
#6
|
I suppose I should explain the cause of the problem. It's perhaps a bug in the N9's implementation of CalDAV.
When the N9 sends a DELETE message, it includes the Content-Type: "application/xml" header and no Content-Length. (I think this implies Content-Length:0.) Apparently, the CalDAV spec says that DELETE has no body, so there isn't any need to send the Content-Type header.
This confused DAViCal. According to the developer, the spec doesn't cover this particular case. The patch he or she gave me fixes the issue.
![]() |
2012-10-03
, 17:22
|
Posts: 121 |
Thanked: 53 times |
Joined on Aug 2006
@ Alexandria, VA, USA
|
#7
|
Thanks for sharing this, it would be great if you could post that here.
The issue seems to be that the N9 sends a content-type='application/xml' header in its DELETE requests. The request body, however, is empty. DAViCal treats that as an error. According to the developers, the standard says there shouldn't be a request body for DELETE. Apparently, the standard doesn't say what to do.
If it works for you, please tell me which CalDAV server you're using. That would help a lot.
Last edited by talmage; 2012-10-11 at 21:46. Reason: This problem has been solved.