- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 5,750 for okhttp (0.04 seconds)
-
samples/compare/src/test/kotlin/okhttp3/compare/OkHttpClientTest.kt
* limitations under the License. */ package okhttp3.compare import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.matches import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import mockwebserver3.junit5.StartStop import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.testing.PlatformRule import org.junit.jupiter.api.Test
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 1.9K bytes - Click Count (0) -
okhttp-java-net-cookiejar/README.md
OkHttp java.net.CookieHandler ============================= This module integrates OkHttp with `CookieHandler` from `java.net`. This used to be part of `okhttp-urlconnection` ### Download ```kotlin testImplementation("com.squareup.okhttp3:okhttp-java-net-cookiehandler:5.3.0")Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 284 bytes - Click Count (0) -
okhttp-bom/build.gradle.kts
id("java-platform") } dependencies { constraints { project.rootProject.subprojects.forEach { subproject -> if (subproject.name != "okhttp-bom") { api(subproject) } } api("com.squareup.okhttp3:okhttp-jvm:${project.version}") api("com.squareup.okhttp3:okhttp-android:${project.version}") } } publishing { publications.create<MavenPublication>("maven") {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Jul 13 08:32:01 GMT 2025 - 501 bytes - Click Count (0) -
docs/changelogs/changelog_4x.md
keep all of your OkHttp artifacts on the same version, even if they're declared via transitive dependencies. You can even omit versions when declaring other OkHttp dependencies. ```kotlin dependencies { api(platform("com.squareup.okhttp3:okhttp-bom:4.4.0")) api("com.squareup.okhttp3:okhttp") // No version!
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Authenticator.kt
* server's hostname is sent to the proxy. * * Prior to sending any CONNECT request OkHttp always calls the proxy authenticator so that it may * prepare preemptive authentication. OkHttp will call [authenticate] with a fake `HTTP/1.1 407 * Proxy Authentication Required` response that has a `Proxy-Authenticate: OkHttp-Preemptive` * challenge. The proxy authenticator may return either an authenticated request, or null to * connect without authentication. *
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 5.5K bytes - Click Count (0) -
mkdocs.yml
site_name: OkHttp site_url: https://square.github.io/okhttp/ repo_name: OkHttp repo_url: https://github.com/square/okhttp site_description: "Square’s meticulous HTTP client for the JVM, Android, and GraalVM" site_author: Square, Inc. remote_branch: gh-pages edit_uri: "" copyright: 'Copyright © 2022 Block, Inc.' theme: name: 'material' favicon: assets/images/icon-square.png logo: assets/images/icon-square.png palette:
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Nov 21 07:19:31 GMT 2024 - 3.9K bytes - Click Count (0) -
docs/recipes.md
To prevent a response from using the cache, use [`CacheControl.FORCE_NETWORK`](http://square.github.io/okhttp/4.x/okhttp/okhttp3/-cache-control/-f-o-r-c-e_-n-e-t-w-o-r-k/). To prevent it from using the network, use [`CacheControl.FORCE_CACHE`](http://square.github.io/okhttp/4.x/okhttp/okhttp3/-cache-control/-f-o-r-c-e_-c-a-c-h-e/). Be warned: if you use `FORCE_CACHE` and the response requires the network, OkHttp will return a `504 Unsatisfiable Request` response.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Aug 30 17:01:12 GMT 2025 - 47.8K bytes - Click Count (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/OkHttpClientTest.java
* limitations under the License. */ package okhttp.regression.compare; import androidx.test.ext.junit.runners.AndroidJUnit4; import java.io.IOException; import okhttp3.OkHttpClient; import okhttp3.Protocol; import okhttp3.Request; import static org.junit.Assert.assertEquals; import okhttp3.Response; import org.junit.Test; import org.junit.runner.RunWith; /** * OkHttp. * * https://square.github.io/okhttp/ */
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 14 17:38:22 GMT 2020 - 1.4K bytes - Click Count (0) -
docs/changelogs/changelog_1x.md
X-Android-Received-Millis is now OkHttp-Received-Millis X-Android-Response-Source is now OkHttp-Response-Source X-Android-Selected-Transport is now OkHttp-Selected-Transport ``` * Improve cache invalidation for POST-like requests. * Bring MockWebServer into OkHttp and teach it SPDY. ## Version 1.1.1 _2013-06-23_Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 6.4K bytes - Click Count (0) -
native-image-tests/build.gradle.kts
// TODO reenable other tests // https://github.com/square/okhttp/issues/8901 //sourceSets { // test { // java.srcDirs( // "../okhttp-brotli/src/test/java", // "../okhttp-dnsoverhttps/src/test/java", // "../okhttp-logging-interceptor/src/test/java", // "../okhttp-sse/src/test/java", // ) // } //} dependencies { implementation(projects.okhttp) testImplementation(projects.mockwebserver3Junit5)Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Jul 22 20:31:49 GMT 2025 - 904 bytes - Click Count (0)