mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-13 03:02:22 -05:00
Dav: do not try property update failover on 507 SC_INSUFFICIENT_STORAGE
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1660 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
b6b08b13bc
commit
48f2f5196a
@ -2230,7 +2230,7 @@ public class DavExchangeSession extends ExchangeSession {
|
||||
putmethod.setRequestEntity(new ByteArrayRequestEntity(baos.toByteArray()));
|
||||
int code = httpClient.executeMethod(putmethod);
|
||||
|
||||
if (code != HttpStatus.SC_OK && code != HttpStatus.SC_CREATED) {
|
||||
if (code != HttpStatus.SC_OK && code != HttpStatus.SC_CREATED && code != HttpStatus.SC_INSUFFICIENT_STORAGE) {
|
||||
LOGGER.warn("Draft message creation failed, failover to property update. Note: attachments are lost");
|
||||
|
||||
ArrayList<DavConstants> propertyList = new ArrayList<DavConstants>();
|
||||
|
Loading…
Reference in New Issue
Block a user