Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for shape (0.13 sec)

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

        val call3 = client.newCall(Request(server.url("/")))
        call3.execute().use { response ->
          assertThat(
            response.body.string(),
          ).isEqualTo("c")
        }
    
        // All calls share a connection.
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(1)
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(2)
      }
    
    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

     * equal, and the [equals()][Object.equals] method between them returns true:
     *
     *  * https://example.net/
     *
     *  * https://example.com/
     *
     * This is because those two hosts share the same IP address. This is an old, bad design decision
     * that makes `java.net.URL` unusable for many things. It shouldn't be used as a [Map] key or in a
    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)
Back to top