-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi there,
I have a bunch Python code that runs with unittests perfectly against exist-db. However I have some issues with the WebDAV implementation of Base-X (tested against the latest 8.0 beta snapshot).
In my case I am trying to read a file that exists over WebDAV
(Pdb) print z_filename foo/index.html (Pdb) handle.listdir() [u'foo'] (Pdb) handle.listdir('foo') [u'index.html', u'index.xml']
But trying to open and read the file gives me a 400 error
(Pdb) handle.open(z_filename) *** OperationFailedError: Server Error: 400
The BaseX log tells me about a 200 response:
20:37:05.917 0:0:0:0:0:0:0:1:56453 admin REQUEST [GET] http://localhost:8984/webdav/testing/foo/index.html 20:37:05.921 0:0:0:0:0:0:0:1:56453 admin 200 3.84 ms
However I see this on the console:
Stopped at ., 1/112: [XQST0109] Character map 'webdav' is not defined.
Using Wireshark I can see that BaseX really responds with a 400 response.
Bug?
Andreas