Skip to content

Commit

Permalink
Fixed issue where willCacheResponse method was potentially not being …
Browse files Browse the repository at this point in the history
…called.
  • Loading branch information
cnoon committed Sep 17, 2015
1 parent a948026 commit 6ac4ce1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Source/Manager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 6ac4ce1

Please sign in to comment.