- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ofTrims (0.06 sec)
-
okhttp/src/test/java/okhttp3/HeadersTest.kt
import assertk.assertions.isNotEqualTo import kotlin.test.Test import kotlin.test.assertFailsWith import okhttp3.Headers.Companion.headersOf import okhttp3.Headers.Companion.toHeaders class HeadersTest { @Test fun ofTrims() { val headers = headersOf("\t User-Agent \n", " \r OkHttp ") assertThat(headers.name(0)).isEqualTo("User-Agent") assertThat(headers.value(0)).isEqualTo("OkHttp") }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.6K bytes - Viewed (0)