Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for foo (0.16 sec)

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

        val pushPromise =
          PushPromise(
            "GET",
            "/foo/bar",
            headersOf("foo", "bar"),
            MockResponse(body = "bar"),
          )
        server.enqueue(
          MockResponse.Builder()
            .body("ABCDE")
            .addPush(pushPromise)
            .build(),
        )
        val call = client.newCall(Request(server.url("/foo")))
        val response = call.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)
Back to top