mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-05 18:58:02 -05:00
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
This commit is contained in:
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…
Reference in New Issue
Block a user