- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for characterEncoding (0.24 sec)
-
okhttp/src/test/java/okhttp3/FormBodyTest.kt
assertThat(body.contentLength()).isEqualTo(expected.length.toLong()) val buffer = Buffer() body.writeTo(buffer) assertThat(buffer.readUtf8()).isEqualTo(expected) } @Test fun characterEncoding() { // Browsers convert '\u0000' to '%EF%BF%BD'. assertThat(formEncode(0)).isEqualTo("%00") assertThat(formEncode(1)).isEqualTo("%01") assertThat(formEncode(2)).isEqualTo("%02")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.8K bytes - Viewed (0)