- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for Parent (0.23 sec)
-
settings.gradle.kts
import java.util.Properties rootProject.name = "okhttp-parent" plugins { id("org.gradle.toolchains.foojay-resolver-convention") version("0.8.0") } include(":mockwebserver") project(":mockwebserver").name = "mockwebserver3" include(":mockwebserver-deprecated") project(":mockwebserver-deprecated").name = "mockwebserver" include(":mockwebserver-junit4") project(":mockwebserver-junit4").name = "mockwebserver3-junit4"
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Apr 14 14:24:05 GMT 2024 - 2.6K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/Main.kt
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", help = "Maximum time allowed for connection (seconds)", ).int().default(DEFAULT_TIMEOUT)
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/main/kotlin/okhttp3/OkHttp.kt
object OkHttp { /** * This is a string like "4.5.0-RC1", "4.5.0", or "4.6.0-SNAPSHOT" indicating the version of * OkHttp in the current runtime. Use this to include the OkHttp version in custom `User-Agent` * headers. * * Official OkHttp releases follow [semantic versioning][semver]. Versions with the `-SNAPSHOT` * qualifier are not unique and should only be used in development environments. If you create
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 1.6K bytes - Viewed (1) -
samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt
assertThat(recorded.headers["Accept-Encoding"]).isEqualTo("gzip, x-gzip, deflate") assertThat(recorded.headers["Connection"]).isEqualTo("keep-alive") assertThat(recorded.headers["User-Agent"]!!).startsWith("Apache-HttpClient/") }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.1K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt
} assertThat(recorded.headers["HTTP2-Settings"]).isNotNull() assertThat(recorded.headers["Upgrade"]).isEqualTo("h2c") // HTTP/2 over plaintext! assertThat(recorded.headers["User-Agent"]!!).matches(Regex("Java-http-client/.*")) }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
.header("User-Agent", "baz") .build(), ) assertContent("encrypted response from the origin server", response) val connect = server.takeRequest() assertThat(connect.headers["Private"]).isNull() assertThat(connect.headers["Proxy-Authorization"]).isNull() assertThat(connect.headers["User-Agent"]).isEqualTo(USER_AGENT)
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 131.7K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
* New: Constant string `okhttp3.VERSION`. This is a string like "4.5.0-RC1", "4.5.0", or "4.6.0-SNAPSHOT" indicating the version of OkHttp in the current runtime. Use this to include the OkHttp version in custom `User-Agent` headers. * Fix: Don't crash when running as a plugin in Android Studio Canary 4.1. To enable platform-specific TLS features OkHttp must detect whether it's running in a JVM or in Android.
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) -
kotlin-js-store/yarn.lock
dependencies: function-bind "^1.1.1" has "^1.0.3" has-symbols "^1.0.3" glob-parent@~5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== dependencies:
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Jul 22 12:28:51 GMT 2023 - 87.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
readUtf8() } } catch (_: FileNotFoundException) { null } } fun writeFile( file: Path, content: String, ) { file.parent?.let { filesystem.createDirectories(it) } filesystem.write(file) { writeUtf8(content) } } private fun generateSomeGarbageFiles() {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 75.8K bytes - Viewed (0) -
docs/changelogs/changelog_2x.md
* Fix: Include a backwards-compatible `OkHttp-Response-Source` header with `OkUrlFactory `responses. * Fix: Don't include a default User-Agent header in requests made with the Call API. Requests made with OkUrlFactory will continue to have a default user agent. * New: Guava-like API to create headers: ```java Headers headers = Headers.of(name1, value1, name2, value2, ...). ```
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Viewed (0)