diff --git a/AFNetworking/AFURLConnectionOperation.h b/AFNetworking/AFURLConnectionOperation.h index 9c7ba9a..8c620aa 100644 --- a/AFNetworking/AFURLConnectionOperation.h +++ b/AFNetworking/AFURLConnectionOperation.h @@ -49,7 +49,7 @@ extern NSString * const AFNetworkingOperationDidFinishNotification; NSHTTPURLResponse *_response; NSError *_error; - NSData *_responseBody; + NSData *_responseData; NSInteger _totalBytesRead; NSMutableData *_dataAccumulator; NSOutputStream *_outputStream; diff --git a/AFNetworking/AFURLConnectionOperation.m b/AFNetworking/AFURLConnectionOperation.m index 8540ad1..9f89eda 100644 --- a/AFNetworking/AFURLConnectionOperation.m +++ b/AFNetworking/AFURLConnectionOperation.m @@ -78,7 +78,7 @@ static inline NSString * AFKeyPathFromOperationState(AFOperationState state) { @synthesize request = _request; @synthesize response = _response; @synthesize error = _error; -@synthesize responseData = _responseBody; +@synthesize responseData = _responseData; @synthesize responseString = _responseString; @synthesize totalBytesRead = _totalBytesRead; @synthesize dataAccumulator = _dataAccumulator; @@ -129,7 +129,7 @@ static inline NSString * AFKeyPathFromOperationState(AFOperationState state) { [_response release]; [_error release]; - [_responseBody release]; + [_responseData release]; [_responseString release]; [_dataAccumulator release]; [_outputStream release]; _outputStream = nil;