- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for sheugh (0.16 sec)
-
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
assertThat(url.queryParameterNames).isEqualTo(setOf("a+=& b")) assertThat(url.queryParameterValues("a+=& b")).isEqualTo(listOf("c+=& d")) assertThat(url.querySize).isEqualTo(1) // Ambiguous! (Though working as designed.) assertThat(url.query).isEqualTo("a+=& b=c+=& d") assertThat(url.encodedQuery).isEqualTo("a%2B%3D%26%20b=c%2B%3D%26%20d") } @Test fun composeQueryWithEncodedComponents() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 67.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
* | `https://host/` | `443` | */ @get:JvmName("port") val port: Int, /** * A list of path segments like `["a", "b", "c"]` for the URL `http://host/a/b/c`. This list is * never empty though it may contain a single empty string. * * | URL | `pathSegments()` | * | :----------------------- | :------------------ | * | `http://host/` | `[""]` |
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) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
assertThat(stream1.writeBytesMaximum) .isEqualTo(Settings.DEFAULT_INITIAL_WINDOW_SIZE.toLong()) // Another stream should be able to send data even though 1 is blocked. val stream2 = connection.newStream(headerEntries("b", "banana"), true) val out2 = stream2.getSink().buffer() out2.writeUtf8("foo") out2.flush()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 75.4K bytes - Viewed (0)