- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for requestBodyOrNull (0.07 sec)
-
okhttp/src/test/java/okhttp3/CacheTest.kt
Request.Builder() .url(url) .apply { if (withOverride) { cacheUrlOverride(url) } } .method(requestMethod, requestBodyOrNull(requestMethod)) .build() val response1 = client.newCall(request).execute() response1.body.close() assertThat(response1.header("X-Response-ID")).isEqualTo("1") val response2 = get(url)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 108.6K bytes - Viewed (0)