- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for link (0.12 sec)
-
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
// TODO make exception message escape non-printable characters } @Test fun parseDoesNotTrimOtherWhitespaceCharacters() { // Whitespace characters list from Google's Guava team: http://goo.gl/IcR9RD // line tabulation assertThat(parse("http://h/\u000b").encodedPath).isEqualTo("/%0B") // information separator 4 assertThat(parse("http://h/\u001c").encodedPath).isEqualTo("/%1C") // information separator 3
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
* component parts, this class implements relative URL resolution: what address you'd reach by * clicking a relative link on a specified page. For example: * * ```java * HttpUrl base = HttpUrl.parse("https://www.youtube.com/user/WatchTheDaily/videos"); * HttpUrl link = base.resolve("../../watch?v=cbP2N1BQdYc"); * System.out.println(link); * ``` * * which prints: * * ``` * https://www.youtube.com/watch?v=cbP2N1BQdYc * ```
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/cache/DiskLruCacheTest.kt
""".trimMargin(), ) for (line in bodyLines) { writeUtf8(line) writeUtf8("\n") } } } private fun readJournalLines(): List<String> { val result = mutableListOf<String>() filesystem.read(journalFile) { while (true) { val line = readUtf8Line() ?: break result.add(line) } } return result }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 75.8K bytes - Viewed (0)