Commit de8bb635 authored by Romain Courteaud's avatar Romain Courteaud

Merge branch 'lucas_webdav' into 'master'

added compatibility with pyWebDAV,

pyWebdav sending different error codes than Apache server Webdav.

See merge request !11
parents 2dec9b9f 08728e58
......@@ -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