- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for toUriWithUsernameNoPassword (0.1 sec)
-
okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt
val httpUrl = "http://host/?d=abc!@[]^`{}|\\".toHttpUrl() val uri = httpUrl.toUri() assertThat(uri.toString()).isEqualTo("http://host/?d=abc!@[]%5E%60%7B%7D%7C%5C") } @Test fun toUriWithUsernameNoPassword() { val httpUrl = HttpUrl.Builder() .scheme("http") .username("user") .host("host") .build() assertThat(httpUrl.toString()).isEqualTo("http://user@host/")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.9K bytes - Viewed (0)