dwhipple99 / caldav4j

Automatically exported from code.google.com/p/caldav4j
0 stars 0 forks source link

MkCalendar sends empty HTTP content #25

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

we are currently using the org.osaf.caldav4j.CalDAVCalendarCollection class
to perform operations on a DAVICAL calendar server
(http://rscds.sourceforge.net/).

The createCalendar() method does not work and the server returns a HTTP
code 500 "Internal Server Error". After monitoring the HTTP traffic, we
found out that the MKCALENDAR method was not sending any HTTP content.
However, there was a "Content-Type" header defined to "text/xml".

If we remove the "Content-Type" header, everything works fine. It may
suggest that DAVICAL is just too restrictive about incoming requests, but
we also found it strange because the MkCalendarMethod indeed defines a
generateRequestBody() method that looks to return not-null XML content.
After further investigation, it seems that this method is never called.

Is this normal ?

Note: we are using the latest trunk version (158).

Original issue reported on code.google.com by devt...@helmet.fr on 26 Mar 2009 at 11:11

GoogleCodeExporter commented 8 years ago
pls. see http://tools.ietf.org/html/rfc4791#section-5.3.1.2

for logging http traffic update log4j.xml from trunk

Original comment by robipo...@gmail.com on 7 Apr 2009 at 6:17