- Sort Score
- Num 10 results
- Language All
Results 421 - 430 of 761 for printTo (0.05 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/CorrettoTest.kt
client.newCall(request).execute().use { assertThat(it.protocol).isEqualTo(Protocol.HTTP_2) if (it.handshake!!.tlsVersion != TlsVersion.TLS_1_3) { System.err.println("Flaky TLSv1.3 with google") // assertThat(it.handshake()!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3) } } } @Test fun testIfSupported() {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 2.1K bytes - Click Count (0) -
tests/test_custom_swagger_ui_redirect.py
response = client.get("/docs") assert response.status_code == 200, response.text assert response.headers["content-type"] == "text/html; charset=utf-8" assert "swagger-ui-dist" in response.text print(client.base_url) assert ( f"oauth2RedirectUrl: window.location.origin + '{swagger_ui_oauth2_redirect_url}'" in response.text ) def test_swagger_ui_oauth2_redirect():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Apr 08 04:37:38 GMT 2020 - 1.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
SmbSession.logon(dc, ntlm); if (LogStream.level > 2) { log.println("NtlmHttpFilter: " + ntlm + " successfully authenticated against " + dc); } } catch (final SmbAuthException sae) { if (LogStream.level > 1) { log.println("NtlmHttpFilter: " + ntlm.getName() + ": 0x" + jcifs.smb1.util.Hexdump.toHexString(sae.getNtStatus(), 8)
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.3K bytes - Click Count (0) -
docs_src/python_types/tutorial006_py39.py
def process_items(items: list[str]): for item in items:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 80 bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/guide/PostExample.java
PostExample example = new PostExample(); String json = example.bowlingJson("Jesse", "Jake"); String response = example.post("http://www.roundsapp.com/post", json); System.out.println(response); }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 2K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java
.build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } } public static void main(String... args) throws Exception { new CheckHandshake().run(); }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 2.1K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostStreaming.kt
body = requestBody, ) client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } companion object { val MEDIA_TYPE_MARKDOWN = "text/x-markdown; charset=utf-8".toMediaType() } } fun main() { PostStreaming().run()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConscryptTest.kt
client.newCall(request).execute().use { assertThat(it.protocol).isEqualTo(Protocol.HTTP_2) if (it.handshake!!.tlsVersion != TlsVersion.TLS_1_3) { System.err.println("Flaky TLSv1.3 with google") // assertThat(it.handshake()!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3) } } } @Test fun testBuildIfSupported() {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3.1K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampValueSource.kt
} return formatter.format(Date(0L)) } val buildTimestampFromReceipt = buildTimestampFromBuildReceipt.orNull if (buildTimestampFromReceipt != null) { println("Using timestamp from incoming build receipt: $buildTimestampFromReceipt") return buildTimestampFromReceipt } val timestampFormat = SimpleDateFormat("yyyyMMddHHmmssZ").apply {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Jun 05 17:24:26 GMT 2025 - 3.7K bytes - Click Count (0) -
buildscripts/cross-compile.sh
} function _build() { local osarch=$1 IFS=/ read -r -a arr <<<"$osarch" os="${arr[0]}" arch="${arr[1]}" package=$(go list -f '{{.ImportPath}}') printf -- "--> %15s:%s\n" "${osarch}" "${package}" # go build -trimpath to build the binary. export GOOS=$os export GOARCH=$arch export GO111MODULE=on go build -trimpath -tags kqueue -o /dev/null }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Jun 08 16:12:05 GMT 2025 - 972 bytes - Click Count (0)