我通过 Restkit 向服务器执行请求。它运行良好,但有时会调用该方法:
- (NSInputStream *)connection:(NSURLConnection *)connection needNewBodyStream:(NSURLRequest *)request
{
RKResponseIgnoreDelegateIfCancelled(nil);
RKLogWarning(@"RestKit was asked to retransmit a new body stream for a request. Possible connection error or authentication challenge?");
return nil;
}
而且我没有收到来自服务器的响应。
为什么叫它?