Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 186 for agent (0.03 seconds)

  1. internal/http/transports.go

    	}
    }
    
    // uaTransport - User-Agent  transport
    type uaTransport struct {
    	ua string
    	rt http.RoundTripper
    }
    
    func (u *uaTransport) RoundTrip(req *http.Request) (*http.Response, error) {
    	req2 := req.Clone(req.Context())
    	req2.Header.Set("User-Agent", u.ua)
    	return u.rt.RoundTrip(req2)
    }
    
    // WithUserAgent wraps an existing transport with custom User-Agent
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 08 17:51:53 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  2. 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)
  3. .teamcity/src/main/kotlin/util/WarmupEc2Agent.kt

    import vcsroots.useAbsoluteVcs
    
    object WarmupEc2Agent : BuildType({
        name = "Warmup EC2 Agent"
        id("Util_WarmupEc2Agent")
    
        vcs.useAbsoluteVcs(VersionedSettingsBranch.fromDslContext().vcsRootId())
    
        features {
            freeDiskSpace {
                // Lower the limit such that the agent work directories aren't cleaned during the AMI baking process
                requiredSpace = "100mb"
            }
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  4. 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)
  5. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

        assertThat(response.request.header("User-Agent")).isNotNull()
        assertThat(response.request.header("User-Agent")).isEqualTo("user request")
        assertThat(response.networkResponse!!.request.header("User-Agent")).isEqualTo(
          "intercepted request",
        )
      }
    
      @Test
      fun applicationInterceptorThrowsRuntimeExceptionAsynchronous() {
        interceptorThrowsRuntimeExceptionAsynchronous(false)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 16:11:23 GMT 2025
    - 28.2K 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. docs_src/header_params/tutorial001_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Header
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(user_agent: Annotated[str | None, Header()] = None):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 217 bytes
    - Click Count (0)
Back to Top