Re: [Evolution-hackers] WebDAV Addressbook Debugging



On Tue, 2010-04-27 at 20:45 +0200, Butrus Damaskus wrote:
> On Mon, Apr 26, 2010 at 3:42 PM, Adam Tauno Williams
> <awilliam opengroupware us> wrote:
> > On Mon, 2010-04-26 at 14:25 +0200, Milan Crha wrote:
> >> On Fri, 2010-04-23 at 13:25 -0400, Adam Tauno Williams wrote:
> >> > I am testing Evo with our GroupDAV server and after a moment it
> >> responds
> >> > with 'address book not available' and instructs me to restart
> >> Evolution.
> >> > Running Evolution from the command line doesn't provide any additional
> >> > information.
> >> it means your evolution-data-server (for 2.28-) or e-addressbook-factory
> >> (for 2.30+) crashed. Try to run it on another console, maybe under gdb,
> >> and see where it crashed and why.
> > I got it working;  with it, or possibly libsoup (?), seems very
> > sensitive to headers.  So once I mimic'd a working server all was OK.
> Could You, pleease, provide more details, which HTTP headers are needed? Thanks!

This seems to make it happy:
self.request.send_response(207, 'Multistatus')
self.request.send_header('X-Dav-Error', '200 No error')
self.request.send_header('Ms-Author-Via', 'DAV')
self.request.send_header('Content-Type', 'text/xml; charset="utf-8"')

<http://coils.hg.sourceforge.net/hgweb/coils/coils/file/8711235dafeb/src/coils/protocol/dav/foundation/davfolder.py>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]