Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 572 for HOST (0.02 sec)

  1. 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)
  2. docs/pt/docs/advanced/middleware.md

    Garante que todas as requisições recebidas tenham um cabeçalho `Host` corretamente configurado, a fim de proteger contra ataques de cabeçalho de host HTTP.
    
    {* ../../docs_src/advanced_middleware/tutorial002.py hl[2,6:8] *}
    
    Os seguintes argumentos são suportados:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Oct 30 20:00:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NbtAddressTest.java

            // Test nextCalledName when calledName is SMBSERVER_NAME and isDataFromNodeStatus is true
            when(mockContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
            mockName = new Name(mockConfig, "HOST", 0x20, null);
            NbtAddress nbtAddress =
                    new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE, false, false, false, false, testMacAddress); // isDataFromNodeStatus is true by constructor
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  4. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt

      names: List<String>,
    ) {
      var time = System.currentTimeMillis()
      for (dns in dnsProviders) {
        println("Testing ${dns.url}")
        for (host in names) {
          print("$host: ")
          System.out.flush()
          try {
            val results = dns.lookup(host)
            println(results)
          } catch (uhe: UnknownHostException) {
            var e: Throwable? = uhe
            while (e != null) {
              println(e)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/CredentialsInternal.java

         * @param host the target host
         * @param initialToken initial authentication token, if any
         * @param doSigning whether message signing should be enabled
         * @return a new SSP authentication context
         * @throws SmbException if context creation fails
         */
        SSPContext createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning) throws SmbException;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. cmd/signature-v4-parser_test.go

    			expectedErrCode:       ErrMissingSignHeadersTag,
    		},
    		// Test case - 3.
    		// Test case with valid inputs.
    		{
    			inputSignElement:      "SignedHeaders=host;x-amz-content-sha256;x-amz-date",
    			expectedSignedHeaders: []string{"host", "x-amz-content-sha256", "x-amz-date"},
    			expectedErrCode:       ErrNone,
    		},
    	}
    
    	for i, testCase := range testCases {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  7. cmd/generic-handlers.go

    		}
    	}
    	// Date header missing.
    	return time.Time{}, ErrMissingDateHeader
    }
    
    func hasBadHost(host string) error {
    	if globalIsCICD && strings.TrimSpace(host) == "" {
    		// under CI/CD test setups ignore empty hosts as invalid hosts
    		return nil
    	}
    	_, err := xnet.ParseHost(host)
    	return err
    }
    
    // Check if the incoming path has bad path components,
    // such as ".." and "."
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.7K bytes
    - Viewed (1)
  8. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                        this.addresses = this.ctx.getNameServiceClient().getAllByName(host, true);
                    } else {
                        this.addresses = this.ctx.getNameServiceClient().getAllByName(host, false);
                    }
                } catch (final UnknownHostException e) {
                    throw new CIFSException("Failed to lookup address for name " + host, e);
                }
            }
    
            return getNextAddress();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/AddressTest.java

            // When
            String hostName = mockAddress.getHostName();
    
            // Then
            assertEquals(expectedHostName, hostName, "Should return configured hostname");
            assertNotNull(hostName, "Host name should not be null");
        }
    
        @Test
        @DisplayName("getHostAddress should return valid IP address string")
        void testGetHostAddressContract() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. cmd/object-lambda-handlers.go

    	"github.com/minio/minio/internal/logger"
    )
    
    var getLambdaEventData = func(bucket, object string, cred auth.Credentials, r *http.Request) (levent.Event, error) {
    	host := globalLocalNodeName
    	secure := globalIsTLS
    	if globalMinioEndpointURL != nil {
    		host = globalMinioEndpointURL.Host
    		secure = globalMinioEndpointURL.Scheme == "https"
    	}
    
    	duration := time.Until(cred.Expiration)
    	if duration > time.Hour || duration < time.Hour {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 18 21:56:31 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top