- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,238 for Host (0.28 sec)
-
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
.assertLogMatch(Regex("""dnsStart: ${url.host}""")) .assertLogMatch(Regex("""dnsEnd: \[.+]""")) .assertLogMatch(Regex("""connectStart: ${url.host}/.+ DIRECT""")) .assertLogMatch(Regex("""connectEnd: http/1.1""")) .assertLogMatch( Regex( """connectionAcquired: Connection\{${url.host}:\d+, proxy=DIRECT hostAddress=${url.host}/.+ cipherSuite=none protocol=http/1\.1\}""", ),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 10.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt
assertThat("http://host/a\u0000b".toHttpUrl().toUri()) .isEqualTo(URI("http://host/a%00b")) assertThat("http://host/a\u0080b".toHttpUrl().toUri()) .isEqualTo(URI("http://host/a%C2%80b")) assertThat("http://host/a\u009fb".toHttpUrl().toUri()) .isEqualTo(URI("http://host/a%C2%9Fb")) // Percent-encoded in the query. assertThat("http://host/?a\u0000b".toHttpUrl().toUri()) .isEqualTo(URI("http://host/?a%00b"))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
networkLogs .assertLogEqual("--> POST $url http/1.1") .assertLogEqual("Content-Type: text/plain; charset=utf-8") .assertLogEqual("Content-Length: 3") .assertLogEqual("Host: $host") .assertLogEqual("Connection: Keep-Alive") .assertLogEqual("Accept-Encoding: gzip") .assertLogMatch(Regex("""User-Agent: okhttp/.+""")) .assertLogEqual("--> END POST")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 37.5K bytes - Viewed (0) -
cmd/net_test.go
{":0", "", "0"}, {"server:https", "server", "443"}, {"server:http", "server", "80"}, } for _, testCase := range testCases { host, port := mustSplitHostPort(testCase.hostPort) if testCase.expectedHost != host { t.Fatalf("host: expected = %v, got = %v", testCase.expectedHost, host) } if testCase.expectedPort != port { t.Fatalf("port: expected = %v, got = %v", testCase.expectedPort, port) } } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/NameServiceClientTest.java
// Arrange String host = "testHost"; when(nameServiceClient.getNbtAllByAddress(host)).thenThrow(new UnknownHostException("Host not found")); // Act & Assert assertThrows(UnknownHostException.class, () -> nameServiceClient.getNbtAllByAddress(host)); verify(nameServiceClient, times(1)).getNbtAllByAddress(host); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
) } /** * @param host either a regular hostname, International Domain Name, IPv4 address, or IPv6 * address. */ fun host(host: String) = apply { val encoded = host.percentDecode().toCanonicalHost() ?: throw IllegalArgumentException("unexpected host: $host") this.host = encoded } fun port(port: Int) =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 63.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
public static NbtAddress getByName(final String host, final int type, final String scope) throws UnknownHostException { return getByName(host, type, scope, null); } /** * Determines the address of a host given its host name with a specific server. * The additional <code>svr</code> parameter specifies the address to * query. This might be the address of a specific host, a name server, * or a broadcast address.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/duplicatehost/ApiAdminDuplicatehostAction.java
})).status(Status.OK).result()); } // POST /api/admin/duplicatehost/setting /** * Creates a new duplicate host setting. * * @param body duplicate host setting data to create * @return JSON response with created setting ID and status */ @Execute public JsonResponse<ApiResult> post$setting(final CreateBody body) { validateApi(body, messages -> {});
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 8.3K bytes - Viewed (0) -
cmd/endpoint.go
if endpoint.IsLocal && endpoint.Host != "" { u := &url.URL{ Scheme: endpoint.Scheme, Host: endpoint.Host, } return u.String() } } } host := globalMinioHost if host == "" { host = sortIPs(localIP4.ToSlice())[0] } return fmt.Sprintf("%s://%s", getURLScheme(globalIsTLS), net.JoinHostPort(host, globalMinioPort)) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 34.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
assertThat(parse("http:\\\\host/path")) .isEqualTo(parse("http://host/path")) assertThat(parse("http:///host/path")) .isEqualTo(parse("http://host/path")) assertThat(parse("http:\\//host/path")) .isEqualTo(parse("http://host/path")) assertThat(parse("http:/\\/host/path")) .isEqualTo(parse("http://host/path")) assertThat(parse("http://\\host/path"))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Aug 04 07:38:48 UTC 2025 - 69.9K bytes - Viewed (0)