-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Thanks, problem solved.
Andreas
Christian GrĂ¼n wrote:
Hi Andreas,
Wirh the newest snapshot [1], it should once again be possible to open files via WebDAV.
Thanks for the report, Christian
[1] http://files.basex.org/releases/latest/
On Wed, Dec 10, 2014 at 8:43 PM, Andreas Jung lists@zopyx.com wrote: 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
- -- Regards Andreas Jung andreas@andreas-jung.com about.me/andreasjung