- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for en (0.13 sec)
-
okhttp-dnsoverhttps/README.md
.bootstrapDnsHosts(InetAddress.getByName("8.8.4.4"), InetAddress.getByName("8.8.8.8")) .build() val client = bootstrapClient.newBuilder().dns(dns).build() ```
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Dec 17 15:34:10 GMT 2023 - 740 bytes - Viewed (4) -
okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt
} /** * Returns the canonical address for [address]. If [address] is an IPv6 address that is mapped to an * IPv4 address, this returns the IPv4-mapped address. Otherwise, this returns [address]. * * https://en.wikipedia.org/wiki/IPv6#IPv4-mapped_IPv6_addresses */ internal fun canonicalizeInetAddress(address: ByteArray): ByteArray { return when { isMappedIpv4Address(address) -> address.sliceArray(12 until 16)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.2K bytes - Viewed (0) -
okhttp/src/test/resources/okhttp3/internal/idn/rfc3454.C.1.2.txt
00A0; NO-BREAK SPACE 1680; OGHAM SPACE MARK 2000; EN QUAD 2001; EM QUAD 2002; EN SPACE 2003; EM SPACE 2004; THREE-PER-EM SPACE 2005; FOUR-PER-EM SPACE 2006; SIX-PER-EM SPACE 2007; FIGURE SPACE 2008; PUNCTUATION SPACE 2009; THIN SPACE 200A; HAIR SPACE 200B; ZERO WIDTH SPACE 202F; NARROW NO-BREAK SPACE 205F; MEDIUM MATHEMATICAL SPACE
Plain Text - Registered: Fri Mar 29 11:42:11 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 409 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
// mongolian vowel separator assertThat(parse("http://h/\u180e").encodedPath).isEqualTo("/%E1%A0%8E") // en quad assertThat(parse("http://h/\u2000").encodedPath).isEqualTo("/%E2%80%80") // em quad assertThat(parse("http://h/\u2001").encodedPath).isEqualTo("/%E2%80%81") // en space assertThat(parse("http://h/\u2002").encodedPath).isEqualTo("/%E2%80%82") // em space
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/test/java/okhttp3/MediaTypeJvmTest.kt
) assertEquals( "ISO-8859-1", charset.charset(Charsets.US_ASCII)!!.name(), ) } @Test fun testTurkishDotlessIWithEnUs() { withLocale(Locale("en", "US")) { val mediaType = parse("IMAGE/JPEG") assertEquals("image", mediaType.type) assertEquals("jpeg", mediaType.subtype) } } @Test fun testTurkishDotlessIWithTrTr() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
server.enqueue(MockResponse().setBody("hello world")) val url = server.url("/").toUrl() val connection = url.openConnection() as HttpURLConnection connection.setRequestProperty("Accept-Language", "en-US") val inputStream = connection.inputStream val reader = BufferedReader(InputStreamReader(inputStream, StandardCharsets.UTF_8)) assertThat(connection.getResponseCode()).isEqualTo(HttpURLConnection.HTTP_OK)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 21.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/ResponseBody.kt
*/ @Throws(IOException::class) fun byteString() = commonByteString() /** * Returns the response as a character stream. * * If the response starts with a * [Byte Order Mark (BOM)](https://en.wikipedia.org/wiki/Byte_order_mark), it is consumed and * used to determine the charset of the response bytes. * * Otherwise if the response has a `Content-Type` header that specifies a charset, that is used
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
Thread.sleep(10) // Make sure the timestamps are unique. val cacheHit = executeSynchronously( "/", "Accept-Language", "en-US", "Accept-Charset", "UTF-8", ) // Check the merged response. The request is the application's original request. cacheHit.assertCode(200) .assertBody("A")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 142.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 108.6K bytes - Viewed (0) -
docs/features/https.md
release. For example, in OkHttp 2.2 we dropped support for SSL 3.0 in response to the [POODLE](https://googleonlinesecurity.blogspot.ca/2014/10/this-poodle-bites-exploiting-ssl-30.html) attack. And in OkHttp 2.3 we dropped support for [RC4](https://en.wikipedia.org/wiki/RC4#Security). As with your desktop web browser, staying up-to-date with OkHttp is the best way to stay secure. You can build your own connection spec with a custom set of TLS versions and cipher suites. For example, this...
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Dec 24 00:16:30 GMT 2022 - 10.5K bytes - Viewed (0)