Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 578 for Host (0.02 sec)

  1. 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)
  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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/org/codelibs/fess/helper/DuplicateHostHelper.java

        /** List of duplicate host rules for URL conversion */
        protected List<DuplicateHost> duplicateHostList;
    
        /**
         * Default constructor for DuplicateHostHelper.
         * Creates a new duplicate host helper instance.
         */
        public DuplicateHostHelper() {
            // Default constructor
        }
    
        /**
         * Initializes the duplicate host helper after construction.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.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. 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)
  10. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java

        /**
         * Displays the initial duplicate host management page.
         *
         * @param form the search form
         * @return HTML response for the duplicate host list page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index(final SearchForm form) {
            return asListHtml();
        }
    
        /**
         * Displays the duplicate host list with pagination.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16.3K bytes
    - Viewed (0)
Back to top