Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 378 for cookie (0.05 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val request = server.takeRequest()
        assertThat(request.headers["Cookie"]).isEqualTo("a=b")
      }
    
      @Test
      fun receiveResponseCookies() {
        val cookieJar = RecordingCookieJar()
        client =
          client
            .newBuilder()
            .cookieJar(cookieJar)
            .build()
        server.enqueue(
          MockResponse(headers = headersOf("set-cookie", "a=b")),
        )
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 67.5K bytes
    - Click Count (0)
  2. docs/en/data/translation_reviewers.yml

      login: gerry-sabar
      count: 4
      avatarUrl: https://avatars.githubusercontent.com/u/1120123?v=4
      url: https://github.com/gerry-sabar
    cookie-byte217:
      login: cookie-byte217
      count: 4
      avatarUrl: https://avatars.githubusercontent.com/u/57880178?v=4
      url: https://github.com/cookie-byte217
    AbolfazlKameli:
      login: AbolfazlKameli
      count: 4
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 07:31:54 GMT 2026
    - 66K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

          value: String,
        ) = apply {
          headers[name] = value
        }
    
        /**
         * Adds a header with [name] to [value]. Prefer this method for multiply-valued
         * headers like "Set-Cookie".
         */
        open fun addHeader(
          name: String,
          value: String,
        ) = apply {
          headers.add(name, value)
        }
    
        /** Removes all headers named [name] on this builder. */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 14:39:28 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/advanced/response-cookies.md

    # 回應 Cookie { #response-cookies }
    
    ## 使用 `Response` 參數 { #use-a-response-parameter }
    
    你可以在路徑操作函式(path operation function)中宣告一個型別為 `Response` 的參數。
    
    接著你可以在那個「暫時」的 `Response` 物件上設定 Cookie。
    
    {* ../../docs_src/response_cookies/tutorial002_py310.py hl[1, 8:9] *}
    
    之後如常回傳你需要的任何物件(例如 `dict`、資料庫模型等)。
    
    如果你宣告了 `response_model`,它仍會用來過濾並轉換你回傳的物件。
    
    FastAPI 會使用那個暫時的 `Response` 取出 Cookie(以及標頭與狀態碼),並將它們放入最終回應;最終回應包含你回傳的值,且會套用任何 `response_model` 的過濾。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/filter/LoadControlFilterTest.java

            }
    
            @Override
            public String getHeader(String name) {
                return headers.get(name);
            }
    
            @Override
            public void addCookie(jakarta.servlet.http.Cookie cookie) {
            }
    
            @Override
            public boolean containsHeader(String name) {
                return headers.containsKey(name);
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  6. docs/ja/docs/advanced/response-cookies.md

    # レスポンスの Cookie { #response-cookies }
    
    ## `Response` パラメータを使う { #use-a-response-parameter }
    
    *path operation 関数*で `Response` 型のパラメータを宣言できます。
    
    そして、その*一時的*なレスポンスオブジェクトに Cookie を設定できます。
    
    {* ../../docs_src/response_cookies/tutorial002_py310.py hl[1, 8:9] *}
    
    その後は通常どおり、必要な任意のオブジェクト(`dict`、データベースモデルなど)を返せます。
    
    `response_model` を宣言している場合でも、返したオブジェクトは引き続きフィルタおよび変換されます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  7. fastapi/dependencies/utils.py

        elif field_info_in == params.ParamTypes.header:
            dependant.header_params.append(field)
        else:
            assert field_info_in == params.ParamTypes.cookie, (
                f"non-body parameters must be in path, query, header or cookie: {field.name}"
            )
            dependant.cookie_params.append(field)
    
    
    async def _solve_generator(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 38.7K bytes
    - Click Count (3)
  8. docs/en/docs/_llm-test.md

    * the response body
    * the JSON body
    * the form body
    * the file body
    * the function body
    
    * the parameter
    * the body parameter
    * the path parameter
    * the query parameter
    * the cookie parameter
    * the header parameter
    * the form parameter
    * the function parameter
    
    * the event
    * the startup event
    * the startup of the server
    * the shutdown event
    * the lifespan event
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  9. docs/tr/docs/advanced/response-cookies.md

    `Response` parametresini dependency'lerde de tanımlayıp, onların içinde cookie (ve header) set edebilirsiniz.
    
    ## Doğrudan bir `Response` döndürün { #return-a-response-directly }
    
    Kodunuzda doğrudan bir `Response` döndürürken de cookie oluşturabilirsiniz.
    
    Bunu yapmak için, [Doğrudan Response Döndürme](response-directly.md) bölümünde anlatıldığı gibi bir response oluşturabilirsiniz.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/query-params-str-validations.md

    /// tip
    
    Here we are using `Query()` because this is a **query parameter**. Later we will see others like `Path()`, `Body()`, `Header()`, and `Cookie()`, that also accept the same arguments as `Query()`.
    
    ///
    
    FastAPI will now:
    
    * **Validate** the data making sure that the max length is 50 characters
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 16.3K bytes
    - Click Count (0)
Back to Top