EWS: fix 537, detect 507 Insufficient Storage

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2157 3d1905a2-6b24-0410-a738-b14d5a86fcbd
master
mguessan 10 years ago
parent 284fe9bce0
commit e869610e10

@ -716,7 +716,7 @@ public abstract class EWSMethod extends PostMethod {
}
}
}
if (getStatusCode() == HttpStatus.SC_BAD_REQUEST) {
if (getStatusCode() == HttpStatus.SC_BAD_REQUEST || getStatusCode() == HttpStatus.SC_INSUFFICIENT_STORAGE ) {
throw new EWSException(getStatusText());
}
}

Loading…
Cancel
Save