Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 223 for Magenta (0.18 sec)

  1. 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 =
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/header-params.md

    But a variable like `user-agent` is invalid in Python.
    
    So, by default, `Header` will convert the parameter names characters from underscore (`_`) to hyphen (`-`) to extract and document the headers.
    
    Also, HTTP headers are case-insensitive, so, you can declare them with standard Python style (also known as "snake_case").
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/header-params.md

    대부분의 표준 헤더는 "마이너스 기호" (`-`)라고도 하는 "하이픈" 문자로 구분됩니다.
    
    그러나 파이썬에서 `user-agent`와 같은 형태의 변수는 유효하지 않습니다.
    
    따라서 `Header`는 기본적으로 매개변수 이름을 언더스코어(`_`)에서 하이픈(`-`)으로 변환하여 헤더를 추출하고 기록합니다.
    
    또한 HTTP 헤더는 대소문자를 구분하지 않으므로 "snake_case"로 알려진 표준 파이썬 스타일로 선언할 수 있습니다.
    
    따라서, `User_Agent` 등과 같이 첫 문자를 대문자화할 필요없이 파이썬 코드에서처럼 `user_agent`로 사용합니다.
    
    만약 언더스코어를 하이픈으로 자동 변환을 비활성화해야 할 어떤 이유가 있다면, `Header`의 `convert_underscores` 매개변수를 `False`로 설정하십시오:
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/header-params.md

    `Header` ✔️ 🐥 ➕ 🛠️ 🔛 🔝 ⚫️❔ `Path`, `Query` & `Cookie` 🚚.
    
    🌅 🐩 🎚 🎏 "🔠" 🦹, 💭 "➖ 🔣" (`-`).
    
    ✋️ 🔢 💖 `user-agent` ❌ 🐍.
    
    , 🔢, `Header` 🔜 🗜 🔢 📛 🦹 ⚪️➡️ 🎦 (`_`) 🔠 (`-`) ⚗ & 📄 🎚.
    
    , 🇺🇸🔍 🎚 💼-😛,, 👆 💪 📣 👫 ⏮️ 🐩 🐍 👗 (💭 "🔡").
    
    , 👆 💪 ⚙️ `user_agent` 👆 🛎 🔜 🐍 📟, ↩️ 💆‍♂ 🎯 🥇 🔤 `User_Agent` ⚖️ 🕳 🎏.
    
    🚥 🤔 👆 💪 ❎ 🏧 🛠️ 🎦 🔠, ⚒ 🔢 `convert_underscores` `Header` `False`:
    
    === "🐍 3️⃣.6️⃣ & 🔛"
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/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)
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/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,
          )
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  7. internal/s3select/select_test.go

    			wantResult: `{"request":{"uri":"/1","header":{"User-Agent":"test"}}}`,
    			withJSON: `{"request":{"uri":"/1","header":{"User-Agent":"test"}}}
    {"request":{"uri":"/2","header":{}}}`,
    		},
    		{
    			name:       "is-not-missing",
    			query:      `select * from s3object[*] as s where s.request.header['User-Agent'] is not missing`,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/envoy/configdump/testdata/routes/empty-gateway/configdump.json

            "domains": [
             "*"
            ],
            "routes": [
             {
              "match": {
               "prefix": "/healthz/ready"
              },
              "route": {
               "cluster": "agent"
              }
             }
            ]
           }
          ]
         },
         "last_updated": "2023-11-29T09:58:27.299Z"
        },
        {
         "route_config": {
    Json
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/header-params.md

    ほとんどの標準ヘッダーは、「マイナス記号」(`-`)としても知られる「ハイフン」で区切られています。
    
    しかし、`user-agent`のような変数はPythonでは無効です。
    
    そのため、デフォルトでは、`Header`はパラメータの文字をアンダースコア(`_`)からハイフン(`-`)に変換して、ヘッダーを抽出して文書化します。
    
    また、HTTPヘッダは大文字小文字を区別しないので、Pythonの標準スタイル(別名「スネークケース」)で宣言することができます。
    
    そのため、`User_Agent`などのように最初の文字を大文字にする必要はなく、通常のPythonコードと同じように`user_agent`を使用することができます。
    
    もしなんらかの理由でアンダースコアからハイフンへの自動変換を無効にする必要がある場合は、`Header`の`convert_underscores`に`False`を設定してください:
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Oct 17 13:55:39 GMT 2020
    - 3.8K bytes
    - Viewed (0)
  10. manifests/charts/istio-operator/files/profile-preview.yaml

    # This is intended to explore new features coming to Istio.
    # Stability, security, and performance are not guaranteed - use at your own risk.
    meshConfig:
      defaultConfig:
        proxyMetadata:
          # Enable Istio agent to handle DNS requests for known hosts
          # Unknown hosts will automatically be resolved using upstream dns servers in resolv.conf
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 08:50:01 GMT 2024
    - 451 bytes
    - Viewed (0)
Back to top