mirror of
https://github.com/square/okhttp.git
synced 2025-11-27 18:21:14 +03:00
Merge Job into Call. CallTest = AsyncApiTest + SyncApiTest.
This commit is contained in:
@@ -159,7 +159,7 @@ public final class OkApacheClient implements HttpClient {
|
||||
@Override public HttpResponse execute(HttpHost host, HttpRequest request, HttpContext context)
|
||||
throws IOException {
|
||||
Request okRequest = transformRequest(request);
|
||||
Response okResponse = client.execute(okRequest);
|
||||
Response okResponse = client.newCall(okRequest).execute();
|
||||
return transformResponse(okResponse);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user