Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Tage (0.16 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

            .cache(cache)
            .build()
        server.enqueue(
          MockResponse(
            headers = headersOf("cache-control", "max-age=60"),
            body = "ABCD",
          ),
        )
        server.enqueue(
          MockResponse(
            headers = headersOf("cache-control", "max-age=60"),
            body = "EFGH",
          ),
        )
        val call1 = client.newCall(Request(server.url("/")))
        val response1 = call1.execute()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     *
     * In addition to composing URLs from their component parts and decomposing URLs into their
     * component parts, this class implements relative URL resolution: what address you'd reach by
     * clicking a relative link on a specified page. For example:
     *
     * ```java
     * HttpUrl base = HttpUrl.parse("https://www.youtube.com/user/WatchTheDaily/videos");
     * HttpUrl link = base.resolve("../../watch?v=cbP2N1BQdYc");
     * System.out.println(link);
     * ```
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  3. okhttp/src/test/java/okhttp3/EventListenerTest.kt

      }
    
      @Test
      fun cacheHit() {
        enableCache()
        server.enqueue(
          MockResponse.Builder()
            .body("abc")
            .addHeader("cache-control: public, max-age=300")
            .build(),
        )
        var call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .build(),
          )
        var response = call.execute()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
Back to top