Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for user_agent (0.08 sec)

  1. src/main/java/org/codelibs/fess/helper/UserAgentHelper.java

                if (uaType == null) {
                    final String userAgent = request.getHeader(USER_AGENT);
                    if (userAgent != null) {
                        if (userAgent.indexOf("MSIE") >= 0 || userAgent.indexOf("Trident") >= 0) {
                            uaType = UserAgentType.IE;
                        } else if (userAgent.indexOf("Firefox") >= 0) {
                            uaType = UserAgentType.FIREFOX;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/header-params.md

    Also, HTTP headers are case-insensitive, so, you can declare them with standard Python style (also known as "snake_case").
    
    So, you can use `user_agent` as you normally would in Python code, instead of needing to capitalize the first letters as `User_Agent` or something similar.
    
    If for some reason you need to disable automatic conversion of underscores to hyphens, set the parameter `convert_underscores` of `Header` to `False`:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java

        }
    
        public void test_parseWithUserAgent() {
            GsaConfigParser parser = new GsaConfigParser();
            String xmlWithUserAgent = "<?xml version=\"1.0\"?>" + "<eef><config><globalparams>" + "<user_agent>custom-agent</user_agent>"
                    + "<start_urls>https://example.com</start_urls>" + "</globalparams></config></eef>";
    
            parser.parse(new InputSource(new StringReader(xmlWithUserAgent)));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

    import okhttp3.Address
    import okhttp3.ConnectionSpec
    import okhttp3.HttpUrl
    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.Route
    import okhttp3.internal.USER_AGENT
    import okhttp3.internal.canReuseConnectionFor
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.concurrent.withLock
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/admin/ReqHeaderTests.java

        void createWebConfig() {
            final Map<String, Object> requestBody = new HashMap<>();
            requestBody.put("name", "test_webconfig");
            requestBody.put("urls", "http://www.example.com");
            requestBody.put("user_agent", "Mozilla/5.0");
            requestBody.put("num_of_thread", 5);
            requestBody.put("interval_time", 1000);
            requestBody.put("boost", 100.0);
            requestBody.put("available", true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/admin/WebAuthTests.java

        void createWebConfig() {
            final Map<String, Object> requestBody = new HashMap<>();
            requestBody.put("name", "test_webconfig");
            requestBody.put("urls", "http://www.example.com");
            requestBody.put("user_agent", "Mozilla/5.0");
            requestBody.put("num_of_thread", 5);
            requestBody.put("interval_time", 1000);
            requestBody.put("boost", 100.0);
            requestBody.put("available", true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

      for (i in this) {
        if (predicate(i)) {
          if (result.isEmpty()) result = mutableListOf()
          (result as MutableList<T>).add(i)
        }
      }
      return result
    }
    
    internal const val USER_AGENT: String = "okhttp/${CONST_VERSION}"
    
    internal fun checkOffsetAndCount(
      arrayLength: Long,
      offset: Long,
      count: Long,
    ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                        fileConfig.setUpdatedTime(now);
                    }
                }
            } else if ("user_agent".equalsIgnoreCase(qName) && GLOBALPARAMS.equalsIgnoreCase(tagQueue.get(tagQueue.size() - 2))) {
                userAgent = textBuf.toString().trim();
            }
            tagQueue.pollLast();
            textBuf.setLength(0);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  9. src/main/resources/fess_label_en.properties

    labels.web_crawling_title_details=Web Crawling Config
    labels.included_urls=Included URLs
    labels.excluded_urls=Excluded URLs
    labels.included_doc_urls=Included Doc URLs
    labels.excluded_doc_urls=Excluded Doc URLs
    labels.user_agent=User Agent
    labels.web_crawling_button_create=Create
    labels.web_crawling_button_create_job=Create New Job
    labels.crawler_configuration=General Config
    labels.crawler_title_edit=General Config
    labels.schedule=Schedule
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 04:56:21 UTC 2025
    - 40.7K bytes
    - Viewed (0)
  10. src/main/resources/fess_label_zh_TW.properties

    labels.web_crawling_configuration=Web爬網
    labels.web_crawling_title_details=Web爬網設定
    labels.included_urls=要包含在爬網中的URL
    labels.excluded_urls=要從爬網中排除的URL
    labels.included_doc_urls=要包含在搜尋中的URL
    labels.excluded_doc_urls=要從搜尋中排除的URL
    labels.user_agent=使用者代理
    labels.web_crawling_button_create=建立
    labels.web_crawling_button_create_job=建立新作業
    labels.crawler_configuration=通用設定
    labels.crawler_title_edit=通用設定
    labels.schedule=排程
    labels.enabled=啟用
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 04:56:21 UTC 2025
    - 40.7K bytes
    - Viewed (0)
Back to top