mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-20 06:36:52 +00:00
improved multipart handling using EAS
This commit is contained in:
1 parent
ddcae9f132
commit
491d7aaffc
4 files changed
+26
-3
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user