Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for constructRedirectLocation (0.1 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

            assertEquals("http://localhost/search?q=java", HcHttpClient.constructRedirectLocation("http://localhost/", "/search?q=java"));
            assertEquals("http://localhost/home#section1", HcHttpClient.constructRedirectLocation("http://localhost/", "/home#section1"));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                    if (locationHeader != null) {
                        final String redirectLocation;
                        if (locationHeader.getValue().startsWith("/")) {
                            redirectLocation = constructRedirectLocation(url, locationHeader.getValue());
                        } else {
                            redirectLocation = locationHeader.getValue();
                        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 52.2K bytes
    - Viewed (0)
Back to top