flying-circus / pyfilesystem

Automatically exported from code.google.com/p/pyfilesystem
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

WebDAV HTTP 409 (Conflict) turned into ParentDirectoryMissingException #193

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am using eXist-db through the WebDAV layer together with contrib.DAVFS.

The WebDAV server returns a 409 status code in case when a file could not be 
written (for example an invalid
XML file  could not be stored within the XML database). 409 stands for 
"conflict" which is an appropriate status code here. However 409 is turned into 
an ParentDirectoryMissingException which is completely misleading and shadowing 
the real error.

Original issue reported on code.google.com by zopyxfilter on 17 Dec 2014 at 1:02