improved multipart handling using EAS

This commit is contained in:
Ludovic Marcotte committed 2015-03-30 09:42:32 -04:00
1 parent ddcae9f132
commit 491d7aaffc
4 files changed
+26 -3

No files matched your search

+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.