- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 427 for hoist (0.09 sec)
-
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 }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt
// If the non-host fields of the address don't overlap, we're done. if (!this.route.address.equalsNonHost(address)) return false // If the host exactly matches, we're done: this connection can carry the address. if (address.url.host == this .route() .address.url.host ) { return true // This connection is a perfect match. }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 14.9K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt
} @Test fun testHostname() { val headers = headersOf("Host", "host-from-header.com") val socket = MockWebServerSocket( FakeSocket( localAddress = InetAddress.getByAddress( "host-from-address.com", byteArrayOf(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1), ),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 02 20:36:00 UTC 2025 - 5.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt
result.add(Header(TARGET_METHOD, request.method)) result.add(Header(TARGET_PATH, RequestLine.requestPath(request.url))) val host = request.header("Host") if (host != null) { result.add(Header(TARGET_AUTHORITY, host)) // Optional. } result.add(Header(TARGET_SCHEME, request.url.scheme)) for (i in 0 until headers.size) { // header names must be lowercase.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 21:11:09 UTC 2025 - 7K bytes - Viewed (0) -
docs/es/docs/advanced/middleware.md
Impone que todas las requests entrantes tengan correctamente configurado el header `Host`, para proteger contra ataques de HTTP Host Header. {* ../../docs_src/advanced_middleware/tutorial002.py hl[2,6:8] *} Se soportan los siguientes argumentos:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 4.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt
.build() serverCert = HeldCertificate .Builder() .signedBy(serverIntermediateCa) .serialNumber(3L) .commonName("Local Host") .addSubjectAlternativeName(server.hostName) .build() clientRootCa = HeldCertificate .Builder() .serialNumber(1L) .certificateAuthority(1)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/Handler.java
protected void parseURL(final URL u, String spec, final int start, int limit) { final String host = u.getHost(); String path, ref; int port; if (spec.equals("smb://")) { spec = "smb:////"; limit += 2; } else if (!spec.startsWith("smb://") && host != null && host.length() == 0) { spec = "//" + spec; limit += 2; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/ConfigTest.java
InetAddress defaultAddress = InetAddress.getByName("127.0.0.1"); assertEquals(localhost, Config.getInetAddress(testProperties, "test.host", null)); assertEquals(defaultAddress, Config.getInetAddress(testProperties, "nonexistent.host", defaultAddress)); } @Test @DisplayName("Should get boolean property with default value") void testGetBooleanWithDefault() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
SmbResourceLocatorImpl l1 = locator("smb://host/share?server=srv-from-query"); assertSame(a1, l1.getAddress()); // Query parameter 'address' builds UniAddress from IP SmbResourceLocatorImpl l2 = locator("smb://host/share?address=127.0.0.1"); Address first = l2.getAddress(); assertTrue(first instanceof UniAddress); // Host with root path -> possibleNTDomainOrWorkgroup=true
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/SearchForm.java
/** * The search form for Duplicate Host. */ public class SearchForm { /** * Default constructor for SearchForm. */ public SearchForm() { } /** * The regular name field for duplicate host configuration. */ public String regularName; /** * The duplicate host name field for searching duplicate hosts. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.1K bytes - Viewed (0)