- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for pass (0.22 sec)
-
okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt
} } override fun loadForRequest(url: HttpUrl): List<Cookie> { val cookieHeaders = try { // The RI passes all headers. We don't have 'em, so we don't pass 'em! cookieHandler.get(url.toUri(), emptyMap<String, List<String>>()) } catch (e: IOException) { Platform.get().log("Loading cookies failed for " + url.resolve("/...")!!, WARN, e) return emptyList()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:10:43 GMT 2024 - 3.8K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/Main.kt
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() val userAgent: String by option("-A", "--user-agent", help = "User-Agent to send to server").default(NAME + "/" + versionString()) val connectTimeout: Int by option( "--connect-timeout",
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.7K bytes - Viewed (1) -
docs/changelogs/changelog_4x.md
encapsulation enabled. * Fix: Strictly verify hostnames used with OkHttp's `HostnameVerifier`. Programs that make direct manual calls to `HostnameVerifier` could be defeated if the hostnames they pass in are not strictly ASCII. This issue is tracked as [CVE-2021-0341]. ## Version 4.9.1 _2021-01-30_ * Fix: Work around a crash in Android 10 and 11 that may be triggered when two threads
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
*/ @Test fun authorityWithMultipleColons() { val httpUrl = parse("http://foo:pass1@bar:pass2@baz/path") assertThat(httpUrl.username).isEqualTo("foo") assertThat(httpUrl.password).isEqualTo("pass1@bar:pass2") assertThat(httpUrl).isEqualTo(parse("http://foo:pass1%40bar%3Apass2@baz/path")) } @Test fun usernameAndPassword() {
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-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt
val windows: Boolean get() = System.getProperty("os.name", "?").startsWith("Windows") /** * Make assertions about the suppressed exceptions on this. Prefer this over making direct calls * so tests pass on GraalVM, where suppressed exceptions are silently discarded. * * https://github.com/oracle/graal/issues/3008 */ @JvmStatic
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 4.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/idn/StringprepTest.kt
} /** * Because our API always transcodes through UTF-8, and that transcoding replaces unpaired * surrogates with '?', we can't test this behavior with Java Strings. Instead, pass the surrogate * code itself encoded as UTF-8 sequence. */ @Test fun prohibitionSurrogateCodes() { // UTF-8 encoding of the high surrogate U+D800.
Plain Text - Registered: Fri Mar 29 11:42:11 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
var low = 0 var high = size var match: String? = null while (low < high) { var mid = (low + high) / 2 // Search for a '\n' that marks the start of a value. Don't go back past the start of the // array. while (mid > -1 && this[mid] != '\n'.code.toByte()) { mid-- } mid++ // Now look for the ending '\n'. var end = 1
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
val sink = fileSystem.sink(directory.div(file)).buffer() sink.writeUtf8(content) sink.close() } /** * @param delta the offset from the current date to use. Negative values yield dates in the past; * positive values yield dates in the future. */ private fun formatDate( delta: Long, timeUnit: TimeUnit, ): String {
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) -
okhttp/src/test/resources/web-platform-test-urltestdata.txt
http:a:******@****.*** s:http u:a pass:b h:www.example.com p:/ http:/a:******@****.*** s:http u:a pass:b h:www.example.com p:/ http://a:******@****.*** s:http u:a pass:b h:www.example.com p:/ http://@pple.com s:http h:pple.com p:/ http::******@****.*** s:http pass:b h:www.example.com p:/ http:/:******@****.*** s:http pass:b h:www.example.com p:/ http://:******@****.*** s:http pass:b h:www.example.com p:/
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 14.3K bytes - Viewed (0) -
okhttp-logging-interceptor/README.md
logging.setLevel(Level.BASIC); OkHttpClient client = new OkHttpClient.Builder() .addInterceptor(logging) .build(); ``` You can change the log level at any time by calling `setLevel()`. To log to a custom location, pass a `Logger` instance to the constructor. ```java HttpLoggingInterceptor logging = new HttpLoggingInterceptor(new Logger() { @Override public void log(String message) { Timber.tag("OkHttp").d(message); } }); ```
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Dec 17 15:34:10 GMT 2023 - 1.3K bytes - Viewed (0)