- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 731 for hoist (0.04 seconds)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt
chain: Array<out X509Certificate>, authType: String, host: String, ): List<Certificate> { if (host in insecureHosts) return listOf() try { val method = checkServerTrustedMethod ?: throw CertificateException("Failed to call checkServerTrusted") return method.invoke(delegate, chain, authType, host) as List<Certificate> } catch (e: InvocationTargetException) {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
} // Happy path: session retrieval with host/domain variations @ParameterizedTest @DisplayName("getSmbSession(ctx,host,domain) returns session for various inputs") @CsvSource({ "server,DOMAIN", "server,", ",DOMAIN", "," }) void getSmbSession_withTarget(String host, String domain) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.1K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java
private final String host; BasicAuthInterceptor(String host, String username, String password) { this.credentials = Credentials.basic(username, password); this.host = host; } @Override public Response intercept(Chain chain) throws IOException { Request request = chain.request(); if (request.url().host().equals(host)) { request = request.newBuilder()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Nov 05 07:46:46 GMT 2018 - 2.1K bytes - Click Count (0) -
cmd/signature-v4-utils.go
reqQueries := r.Form // find whether "host" is part of list of signed headers. // if not return ErrUnsignedHeaders. "host" is mandatory. if !slices.Contains(signedHeaders, "host") { return nil, ErrUnsignedHeaders } extractedSignedHeaders := make(http.Header) for _, header := range signedHeaders { // `host` will not be found in the headers, can be found in r.Host.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Nov 25 17:10:22 GMT 2024 - 9.1K bytes - Click Count (0) -
cmd/signature-v4_test.go
"X-Amz-SignedHeaders": "host;x-amz-content-sha256;x-amz-date", "X-Amz-Credential": fmt.Sprintf(credentialTemplate, accessKeyID, now.Format(yyyymmdd), "us-west-1"), "X-Amz-Content-Sha256": payloadSHA256, }, region: "us-west-1", expected: ErrUnsignedHeaders, }, // (3) Should fail to extract headers if the host header is not signed. { queryParams: map[string]string{
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 10.5K bytes - Click Count (0) -
ci/devinfra/docker/windows/Dockerfile
\ Write-Host 'Verifying install ...'; \ Write-Host ' python --version'; C:\python312\python.exe --version; \ \ Write-Host 'Verifying pip install ...'; \ C:\python312\python.exe -m pip --version; \ \ Write-Host 'Removing ...'; \ Remove-Item C:\tmp\pyinstall.exe -Force; \ \ Write-Host 'Complete.'; # Install pip packages.
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Fri Jan 17 16:35:57 GMT 2025 - 8.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ChannelSocketFactory.kt
override fun createSocket( host: String, port: Int, ): Socket = TODO("Not yet implemented") override fun createSocket( host: String, port: Int, localHost: InetAddress, localPort: Int, ): Socket = TODO("Not yet implemented") override fun createSocket( host: InetAddress, port: Int, ): Socket = TODO("Not yet implemented")
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.4K bytes - Click Count (0) -
cmd/endpoint-ellipses_test.go
{ []string{"http://host{0...5}/data{1...28}"}, []uint64{168}, [][]uint64{{12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12}}, 12, true, }, // Incorrect custom set drive count. { []string{"http://host{0...5}/data{1...28}"}, []uint64{168}, nil, 10, false, }, // Failure not divisible number of disks. { []string{"http://host{1...11}/data{1...11}"},Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.1K bytes - Click Count (0) -
internal/event/target/nats_contrib_test.go
func TestNatsConnPlain(t *testing.T) { opts := natsserver.DefaultTestOptions opts.Port = 14222 s := natsserver.RunServer(&opts) defer s.Shutdown() clientConfig := &NATSArgs{ Enable: true, Address: xnet.Host{ Name: "localhost", Port: (xnet.Port(opts.Port)), IsPortSet: true, }, Subject: "test", } con, err := clientConfig.connectNats() if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Apr 27 04:30:57 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/SmbTransportTest.java
// Act String result = smbTransport.getRemoteHostName(); // Assert assertNotNull(result, "Remote host name should not be null"); assertEquals(hostName, result, "Returned remote host name should be the mocked host name"); verify(smbTransport).getRemoteHostName(); // Verify that the method was called }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0)