Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 97 for agent (0.26 seconds)

  1. src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java

        @Test
        public void test_getUserAgentType_IE9() {
            getMockRequest().addHeader("user-agent", "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0)");
            assertEquals(UserAgentType.IE, userAgentHelper.getUserAgentType());
        }
    
        @Test
        public void test_getUserAgentType_IE10() {
            getMockRequest().addHeader("user-agent", "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  2. tests/test_response_dependency.py

                "path": request.url.path,
                "user_agent": request.headers.get("user-agent", "unknown"),
            }
    
        @app.get("/")
        def endpoint(
            info: Annotated[dict, Depends(extract_request_info)],
        ):
            return info
    
        client = TestClient(app)
        resp = client.get("/", headers={"user-agent": "test-agent"})
    
        assert resp.status_code == 200
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 18:23:16 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt

    import okhttp3.internal.EmptyTags
    
    class RequestCommonTest {
      @Test
      fun constructorNormal() {
        val url = "https://example.com/".toHttpUrl()
        val body = "hello".toRequestBody()
        val headers = headersOf("User-Agent", "RequestTest")
        val method = "PUT"
        val request =
          Request(
            url = url,
            headers = headers,
            method = method,
            body = body,
          )
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 11K bytes
    - Click Count (0)
  4. Jenkinsfile

    #!groovy
    
    pipeline {
      agent none
      // save some io during the build
      options {
        skipDefaultCheckout()
        durabilityHint('PERFORMANCE_OPTIMIZED')
        disableRestartFromStage()
      }
      stages {
        stage("Build / Test - JDK17") {
          agent { node { label 'ubuntu' } }
          steps {
            timeout(time: 210, unit: 'MINUTES') {
              checkout scm
              mavenBuild("jdk_17_latest", "")
              script {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Jan 26 16:20:31 GMT 2026
    - 2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

                logger.debug("replace: {} -> {}", url, newUrl);
            }
            return newUrl;
        }
    
        /**
         * Checks if the user agent matches the path mapping.
         *
         * @param pathMapping the path mapping
         * @return true if the user agent matches
         */
        protected boolean matchUserAgent(final PathMapping pathMapping) {
            if (!pathMapping.hasUAMathcer()) {
                return true;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  6. .teamcity/src/main/kotlin/configurations/DownloadGitRepoToEc2Agent.kt

    import jetbrains.buildServer.configs.kotlin.buildSteps.script
    
    object DownloadGitRepoToEc2Agent : BuildType({
        val id = "Util_DownloadGitRepoToEc2Agent"
        name = "Download Git Repo to EC2 Agent"
        description = "Do nothing but downloading gradle/gradle repo to EC2 agents"
    
        applyDefaultSettings(artifactRuleOverride = "")
    
        params {
            param("defaultBranchName", "master")
        }
    
        steps {
            script {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Nov 12 06:13:12 GMT 2025
    - 758 bytes
    - Click Count (0)
  7. scripts/translate.py

        if out_path.exists():
            print(f"Found existing translation: {out_path}")
            old_translation = out_path.read_text(encoding="utf-8")
        print(f"Translating {en_path} to {language} ({language_name})")
        agent = Agent("openai:gpt-5")
    
        prompt_segments = [
            general_prompt,
            lang_prompt_content,
        ]
        if old_translation:
            prompt_segments.extend(
                [
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/strict-content-type.md

    ## Example Attack { #example-attack }
    
    Imagine you build a way to run a local AI agent.
    
    It provides an API at
    
    ```
    http://localhost:8000/v1/agents/multivac
    ```
    
    There's also a frontend at
    
    ```
    http://localhost:8000
    ```
    
    /// tip
    
    Note that both have the same host.
    
    ///
    
    Then using the frontend you can make the AI agent do things on your behalf.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Feb 23 17:45:20 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

     *   <li>PROXY_PORT_PROPERTY: Proxy port setting.</li>
     *   <li>PROXY_AUTH_SCHEME_PROPERTY: Proxy authentication scheme.</li>
     *   <li>PROXY_CREDENTIALS_PROPERTY: Proxy credentials.</li>
     *   <li>USER_AGENT_PROPERTY: User agent string.</li>
     *   <li>ROBOTS_TXT_ENABLED_PROPERTY: Enable or disable robots.txt parsing.</li>
     *   <li>AUTHENTICATIONS_PROPERTY: Web authentications.</li>
     *   <li>REQUEST_HEADERS_PROPERTY: Custom request headers.</li>
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 04:17:06 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  10. .teamcity/test-buckets.json

              "name": "TestDistribution"
            }
          },
          {
            "subprojects": [
              "build-cache-local",
              "build-profile",
              "ear",
              "instrumentation-agent-services",
              "logging",
              "messaging",
              "plugins-java-base",
              "problems",
              "problems-api",
              "resources-gcs",
              "war"
            ],
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 18:38:15 GMT 2026
    - 118.6K bytes
    - Click Count (0)
Back to Top