Commit 08728e58 authored by lucas.parsy's avatar lucas.parsy

added compatibility with pyWebDAV,

pyWebdav sending different error codes than Apache server Webdav.
parent 2dec9b9f
......@@ -209,7 +209,7 @@
});
})
.push(undefined, function (error) {
if (error.target.status === 403) {
if (error.target.status === 403 || error.target.status === 424) {
throw new jIO.util.jIOError("Cannot access subdocument", 404);
}
throw error;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment