square/okhttp — pull request #994 by hostinmars (2014-07-17 10:27:43+00:00)
Title: Refine get-response of Call

Refine get-response of Call : move the tries and recovery steps to HttpEngine.java from Call.java.

--------
The original code tries and recovery get response logic might be reused by different kinds of HTTP callers. And from the semantics' point of view, the logic is more likely to be one part of HttpEngine. So I wrapped a tryGetReponse method in HttpEngine and put the tries and recovery logic in it.