-----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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQGUBAEBAgAGBQJUiK0LAAoJEADcfz7u4AZjrasLv0UM48YYBV0pBBNZWflK7TgR VkI1QYMxWTFqkqjs57JQBfBcC/5NGRLYXgNYWGMMexXGsh8z/0IebFLUQm48U+R2 6Lfi2m3lwk2jItI9IMtmIsWlWoCer8LrGKB6JksOFV4aj7cIL174qWyECMNe3FIm oG9hH3wb9ywEXZrtnleMYvSiArnaPupkD0+eKQvkjeZNIIYJNSP8iGOBDjxe72Xi 5v5VHaNwaCCHACviLranWAHvI/ijJVq3S5BngY5Rr6mBdxdrHzbWAlT1VWJ33pzg JKf7MxZFjIvhoScRhIgh8jZClUEbK/+FjVhr+eWoi7+mJLL9IplZM6DE7rSdb2BQ 32dJsi9O5lYeeRYopwsd2hH477Z7vWjOm+G63GcADAep7vwzputiotSRoNYsvyzz Fq+hqRnfcNc9ScwizKF+9JTkrCzSfP7rZBVtRHfqhgvX0gaMqSLitmVEmTohcDh7 7rTMmDhz5ipNBtuPYIEZ2PoWFcP85CY= =iRxe -----END PGP SIGNATURE-----