Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for requestBodyOrNull (0.09 sec)

  1. 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)
Back to top