Pedantically reordering conditions for acceptable content type

This commit is contained in:
Mattt Thompson 2011-10-20 13:03:32 -05:00
parent c9546830e0
commit c6735ffb76

View file

@ -78,7 +78,7 @@
}
- (BOOL)hasAcceptableContentType {
return !self.acceptableContentTypes || [self.response statusCode] == 204 || [self.acceptableContentTypes containsObject:[self.response MIMEType]];
return !self.acceptableContentTypes || [self.acceptableContentTypes containsObject:[self.response MIMEType]] || [self.response statusCode] == 204;
}
#pragma mark - AFHTTPClientOperation