Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for user_agent (0.14 sec)

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

                assertFalse(robotsTxt.allows("/private/index.html", userAgent));
                assertFalse(robotsTxt.allows("/help/", userAgent));
                assertFalse(robotsTxt.allows("/help.html", userAgent));
                assertFalse(robotsTxt.allows("/help/faq.html", userAgent));
                assertTrue(robotsTxt.allows("/foo/bar/", userAgent));
                assertTrue(robotsTxt.allows("/foo/bar/index.html", userAgent));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

                        }
                        final String userAgent = value.toLowerCase(Locale.ENGLISH);
                        Directive currentDirective = robotsTxt.getDirective(userAgent);
                        if (currentDirective == null) {
                            currentDirective = new Directive(userAgent);
                            robotsTxt.addDirective(currentDirective);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top