Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. okhttp/src/test/java/okhttp3/CacheTest.kt

            "A", "a1", "B", "b2", "B", "b3", "Content-Length", "4",
          ),
        )
    
        // The original 'A' header is retained because the network response doesn't have one.
        // The original 'B' headers are replaced by the network response.
        // The network's 'C' header is added.
        val response2 = get(server.url("/"))
        assertThat(response2.body.string()).isEqualTo("abcd")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
Back to top