Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 114 for Agent (0.06 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

    import org.junit.jupiter.api.Test
    
    class RequestTest {
      @Test
      fun constructor() {
        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 Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 24 11:36:14 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_header_param_models/test_tutorial003.py

                            "x_tag": [],
                            "accept": "*/*",
                            "accept-encoding": "gzip, deflate",
                            "connection": "keep-alive",
                            "user-agent": "testclient",
                            "save-data": "true",
                            "if-modified-since": "yesterday",
                            "x-tag": ["one", "two"],
                        },
                    }
                ]
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

        val cookies = cookieJar.loadForRequest(userRequest.url)
        if (cookies.isNotEmpty()) {
          requestBuilder.header("Cookie", cookieHeader(cookies))
        }
    
        if (userRequest.header("User-Agent") == null) {
          requestBuilder.header("User-Agent", USER_AGENT)
        }
    
        val networkRequest = requestBuilder.build()
        val networkResponse = chain.proceed(networkRequest)
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  4. docs/en/data/topic_repos.yml

      stars: 2344
      owner_login: supabase
      owner_html_url: https://github.com/supabase
    - name: nextpy
      html_url: https://github.com/dot-agent/nextpy
      stars: 2335
      owner_login: dot-agent
      owner_html_url: https://github.com/dot-agent
    - name: fastapi-utils
      html_url: https://github.com/fastapiutils/fastapi-utils
      stars: 2291
      owner_login: fastapiutils
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Dec 01 13:17:29 GMT 2025
    - 16K bytes
    - Click Count (0)
  5. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

        assertThat(request.url.toString()).isEqualTo("http://example.com/")
        assertThat(request.header("User-Agent")).isEqualTo("foo")
        assertThat(request.body).isNull()
      }
    
      @Test
      fun defaultUserAgent() {
        val request = fromArgs("http://example.com").createRequest()
        assertThat(request.header("User-Agent")!!).startsWith("okcurl/")
      }
    
      @Test
      fun headerSplitWithDate() {
        val request =
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  6. android/guava/pom.xml

              <offlineLinks>
                <!-- We need local copies of some of these for 2 reasons: a User-Agent problem (https://stackoverflow.com/a/47891403/28465) and an SSL problem (https://issues.apache.org/jira/browse/MJAVADOC-507). If we choose to work around the User-Agent problem, we can go back to <links>, sidestepping the SSL problem. -->
                <offlineLink>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 21:36:50 GMT 2025
    - 9.8K 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.2")
    
        prompt_segments = [
            general_prompt,
            lang_prompt_content,
        ]
        if old_translation:
            prompt_segments.extend(
                [
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:05:53 GMT 2025
    - 34.1K bytes
    - Click Count (0)
  8. docs/uk/docs/tutorial/header-params.md

    `Header` має додатковий функціонал порівняно з `Path`, `Query` та `Cookie`.
    
    Більшість стандартних заголовків розділяються символом «дефіс», також відомим як «мінус» (`-`).
    
    Але змінна, така як `user-agent`, є недійсною в Python.
    
    Тому, за замовчуванням, `Header` автоматично перетворює символи підкреслення (`_`) на дефіси (`-`) для отримання та документування заголовків.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Feb 22 22:02:19 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  9. docs/ru/docs/tutorial/header-params.md

    Большинство стандартных заголовков разделены символом "дефис", также известным как "минус" (`-`).
    
    Но переменная вроде `user-agent` недопустима в Python.
    
    По умолчанию `Header` преобразует символы имен параметров из символа подчеркивания (`_`) в дефис (`-`) для извлечения и документирования заголовков.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 5K bytes
    - Click Count (0)
  10. buildscripts/test-timeout.sh

    		exit $#
    	fi
    }
    
    catch
    
    function gen_put_request() {
    	hdr_sleep=$1
    	body_sleep=$2
    
    	echo "PUT /testbucket/testobject HTTP/1.1"
    	sleep $hdr_sleep
    	echo "Host: foo-header"
    	echo "User-Agent: curl/8.2.1"
    	echo "Accept: */*"
    	echo "Content-Length: 30"
    	echo ""
    
    	sleep $body_sleep
    	echo "random line 0"
    	echo "random line 1"
    	echo ""
    	echo ""
    }
    
    function send_put_object_request() {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Dec 02 13:21:17 GMT 2024
    - 2.9K bytes
    - Click Count (0)
Back to Top