Hi Milos,
On Monday, November 17, 2014 5:08:09 AM UTC-5, Milos Nikolic wrote: > > Hi chaps/esses .. :) > > I've integrated sabredav into my application, and browser module is > working just fine. i can authenticate, list, get, download ics files using > my custom backends. > now, when I try to add a caldav account in thunderbird, it sais that > caldav is not currently available. After looking the wireshark dump log, > I noticed that my caldav server is returning '400 Bad request' with the > message 'Empty XML document sent'. > here is the req/res: > The most logical reason for this to happen, is if you read the contents of 'php://input', before sabredav has a chance to. Because this is a stream, we can generally only read this once. If you read the request body, from sabredav's perspective it will seem as if it received an empty request body. So are you doing something with the request body? Or are you integrating sabredav with some kind of framework that might do that? Evert -- You received this message because you are subscribed to the Google Groups "SabreDAV Discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sabredav-discuss/c4345d50-3828-4e35-9002-07aba20933f6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
