提交 6ac4ce17 编写于 作者: C Christian Noon

Fixed issue where willCacheResponse method was potentially not being called.

上级 a9480269
......@@ -660,8 +660,6 @@ public class Manager {
return (self.taskWillPerformHTTPRedirection != nil)
case "URLSession:dataTask:didReceiveResponse:completionHandler:":
return (self.dataTaskDidReceiveResponse != nil)
case "URLSession:dataTask:willCacheResponse:completionHandler:":
return (self.dataTaskWillCacheResponse != nil)
default:
return self.dynamicType.instancesRespondToSelector(selector)
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册