- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for URLs (0.15 sec)
-
okhttp/src/test/java/okhttp3/TestTls13Request.kt
"https://connect.squareup.com/robots.txt", ) println("TLS1.3+TLS1.2") testClient(urls, buildClient(ConnectionSpec.RESTRICTED_TLS)) println("\nTLS1.3 only") testClient(urls, buildClient(TLS_13)) println("\nTLS1.3 then fallback") testClient(urls, buildClient(TLS_13, TLS_12))
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) -
okhttp/src/main/kotlin/okhttp3/internal/-RequestCommon.kt
if (result == null) { result = CacheControl.parse(headers) lazyCacheControl = result } return result } internal fun canonicalUrl(url: String): String { // Silently replace web socket URLs with HTTP URLs. return when { url.startsWith("ws:", ignoreCase = true) -> { "http:${url.substring(3)}" } url.startsWith("wss:", ignoreCase = true) -> { "https:${url.substring(4)}" }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.1K bytes - Viewed (0) -
docs/features/connections.md
### [URLs](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-http-url/) URLs (like `https://github.com/square/okhttp`) are fundamental to HTTP and the Internet. In addition to being a universal, decentralized naming scheme for everything on the web, they also specify how to access web resources. URLs are abstract:
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Feb 21 03:33:59 GMT 2022 - 5.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
* because unequal URLs may be equal because of how they are hosted. * * ### Equal URLs should be equal * * These two URLs are semantically identical, but `java.net.URI` disagrees: * * * http://host:80/ * * * http://host * * Both the unnecessary port specification (`:80`) and the absent trailing slash (`/`) cause URI to
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) -
docs/features/caching.md
```kotlin cache.evictAll() ``` Removing individual items can be done using the urls iterator. This would be typical after a user initiates a force refresh by a pull to refresh type action. ```java val urlIterator = cache.urls() while (urlIterator.hasNext()) { if (urlIterator.next().startsWith("https://www.google.com/")) { urlIterator.remove() }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 3.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
assertThat(parse("http://username:@host/path")) .isEqualTo(parse("http://username@host/path")) } @Test fun passwordWithEmptyUsername() { // Chrome doesn't mind, but Firefox rejects URLs with empty usernames and non-empty passwords. assertThat(parse("http://:@host/path")) .isEqualTo(parse("http://host/path")) assertThat(parse("http://:password@@host/path").encodedPassword)
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/Cache.kt
*/ @Throws(IOException::class) fun evictAll() { cache.evictAll() } /** * Returns an iterator over the URLs in this cache. This iterator doesn't throw * `ConcurrentModificationException`, but if new responses are added while iterating, their URLs * will not be returned. If existing responses are evicted during iteration, they will be absent * (unless they were already returned). *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 26.8K bytes - Viewed (0) -
docs/features/calls.md
Calls are executed in one of two ways: * **Synchronous:** your thread blocks until the response is readable.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 3.9K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
the thread's `UncaughtExceptionHandler`. * Fix: Don't evict incomplete entries when iterating the cache. We had a bug where iterating `Cache.urls()` would prevent in-flight entries from being written. ## Version 3.14.3 _2019-09-10_ * Fix: Don't lose HTTP/2 flow control bytes when incoming data races with a stream close. If this
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cookie.kt
*/ @get:JvmName("hostOnly") val hostOnly: Boolean, /** * Returns a string describing whether this cookie is sent for cross-site calls. * * Two URLs are on the same site if they share a [top private domain][HttpUrl.topPrivateDomain]. * Otherwise, they are cross-site URLs. * * When a URL is requested, it may be in the context of another URL. *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:12:05 GMT 2024 - 23.1K bytes - Viewed (0)