You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// refer to https://tools.ietf.org/html/rfc7230#section-3.3.2, with 204, server won't send body and content-length, hence no need to read it, and body will be quietly closed by response.close()
159
158
body = newbyte[0];
160
159
} else {
161
-
ResponseBodyresponseBody = httpResponse.body();
162
-
if (responseBody == null) thrownewError("unexpected response body"); // refer to okhttp3.Response.body(), call.execute always return non-null body except for cachedResponse/networkResponse
if (einstanceofRouteException) returntrue; // if it's route failure, then request is not sent yet
97
86
if (einstanceofConnectionShutdownException) returntrue; // refer to RetryAndFollowUpInterceptor -> requestSendStarted = e !is ConnectionShutdownException
0 commit comments