improved multipart handling using EAS

This commit is contained in:
Ludovic Marcotte
2015-03-30 09:42:32 -04:00
parent ddcae9f132
commit 491d7aaffc
4 changed files with 26 additions and 3 deletions
+12
View File
@@ -322,6 +322,18 @@ static NSArray *easCommandParameters = nil;
return s;
}
- (BOOL) acceptsMultiPart
{
NSString *s;
s = [self _valueForParameter: @"OPTIONS="];
if (s && [s rangeOfString: @"AcceptMultiPart" options: NSCaseInsensitiveSearch].location != NSNotFound)
return YES;
return NO;
}
//
// FIXME: combine with our OpenChange code.