Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for UnknownBot (0.06 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

                assertTrue(robotsTxt.allows("/foo/bar/index.html", userAgent));
                assertEquals(1, robotsTxt.getCrawlDelay(userAgent));
            }
    
            for (String userAgent : new String[] { "UnknownBot", "", " ", null }) {
                assertTrue(robotsTxt.allows("/aaa", userAgent));
                assertFalse(robotsTxt.allows("/private/", userAgent));
                assertFalse(robotsTxt.allows("/private/index.html", userAgent));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top