Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 639 for Host (0.03 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/NameServiceClient.java

         * @throws UnknownHostException if the host cannot be resolved
         */
        NetbiosAddress[] getNbtAllByName(String host, int type, String scope, InetAddress svr) throws UnknownHostException;
    
        /**
         * Determines the address of a host given it's host name. NetBIOS
         * names also have a <code>type</code>. Types(aka Hex Codes)
         * are used to distinguish the various services on a host. <a
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    			if nerr.Err != nil {
    				peerResults[nerr.Host.String()] = madmin.ServerPeerUpdateStatus{
    					Host:           nerr.Host.String(),
    					Err:            nerr.Err.Error(),
    					CurrentVersion: Version,
    				}
    				failedClients[idx] = true
    			} else {
    				peerResults[nerr.Host.String()] = madmin.ServerPeerUpdateStatus{
    					Host:           nerr.Host.String(),
    					CurrentVersion: Version,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

                    return new Tuple3[] { new Tuple3<>("Host", "example.com", "site1"), new Tuple3<>("X-Forwarded-Host", "test.com", "site2") };
                }
            });
    
            MockletHttpServletRequest request = getMockRequest();
    
            // No matching host header
            String key = virtualHostHelper.getVirtualHostKey();
            assertEquals("", key);
    
            // Matching host header
            request.addHeader("Host", "example.com");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top