Pedantically reordering conditions for acceptable content type
This commit is contained in:
parent
c9546830e0
commit
c6735ffb76
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BOOL)hasAcceptableContentType {
|
- (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
|
#pragma mark - AFHTTPClientOperation
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue