- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 85 for comment (0.18 sec)
-
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt
-1L -> skip(buffer.size) // Exhaust this source. else -> skip(newline + 1) } } /** * Reads lines from `IdnaMappingTable.txt`. * * Comment lines are either blank or start with a `#` character. Lines may also end with a comment. * All comments are ignored. * * Regular lines contain fields separated by semicolons. *
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WebPlatformToAsciiTest.kt
println(failure) } throw failures.first() } } private fun testToAscii( input: String, output: String?, comment: String?, ) { val url = "https://$input/".toHttpUrlOrNull() assertThat(url?.host, name = comment ?: input).isEqualTo(output) }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.5K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/Main.kt
import okhttp3.logging.LoggingEventListener class Main : CliktCommand(name = NAME, help = "A curl for the next-generation web.") { val method: String? by option("-X", "--request", help = "Specify request command to use") val data: String? by option("-d", "--data", help = "HTTP POST data") val headers: List<String>? by option("-H", "--header", help = "Custom header to pass to server").multiple()
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.7K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt
// Accessing an URL protocol that was not enabled. The URL protocol mailto is not tested and // might not work as expected. It can be enabled by adding the --enable-url-protocols=mailto // option to the native-image command. platform.assumeNotGraalVMImage() val javaNetUrl = URL("mailto:******@****.***") assertThat(javaNetUrl.toHttpUrlOrNull()).isNull() } @Test fun fromUri() {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.9K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
* Fix: Don't crash when the URL hostname contains an underscore on Android. * Fix: Change HTTP/2 to use a daemon thread for its socket reader. If you've ever seen a command line application hang after all of the work is done, it may be due to a non-daemon thread like this one. * New: Include suppressed exceptions when all routes to a target service fail. ## Version 4.4.1
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CookiesTest.kt
assertThat(cookies.size).isEqualTo(1) val cookie = cookies[0] assertThat(cookie.name).isEqualTo("a") assertThat(cookie.value).isEqualTo("android") assertThat(cookie.comment).isNull() assertThat(cookie.commentURL).isNull() assertThat(cookie.discard).isFalse() assertThat(cookie.maxAge).isGreaterThan(100000000000L) assertThat(cookie.path).isEqualTo("/path")
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 13K bytes - Viewed (0) -
LICENSE.txt
boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jul 23 14:02:28 GMT 2012 - 11.1K bytes - Viewed (0) -
okhttp/src/test/resources/web-platform-test-toascii.json
}, { "comment": "Label with trailing hyphen", "input": "x-.xn--zca", "output": "x-.xn--zca" }, { "input": "x-.ß", "output": "x-.xn--zca" }, { "comment": "Empty labels", "input": "x..xn--zca", "output": "x..xn--zca" }, { "input": "x..ß", "output": "x..xn--zca" }, { "comment": "Invalid Punycode", "input": "xn--a",
Json - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 5.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WebPlatformToAsciiData.kt
* * Each test is a line of the file `toascii.json`. */ @Serializable class WebPlatformToAsciiData { var input: String? = null var output: String? = null var comment: String? = null override fun toString() = "input=$input output=$output" companion object { fun load(): List<WebPlatformToAsciiData> {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 1.4K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt
.body( """ |data: hey | | """.trimMargin(), ).setHeader("content-type", "text/plain") .build(), ) newEventSource() listener.assertFailure("Invalid content-type: text/plain") } @Test fun badResponseCode() { server.enqueue( MockResponse.Builder() .body( """
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Jan 14 10:20:09 GMT 2024 - 6.6K bytes - Viewed (0)