Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 397 for cookey (0.07 seconds)

  1. docs/fr/docs/advanced/response-headers.md

    **FastAPI** utilisera cette réponse temporaire pour extraire les en-têtes (ainsi que les cookies et le code de statut), et les placera dans la réponse finale qui contient la valeur que vous avez renvoyée, filtrée par tout `response_model`.
    
    Vous pouvez également déclarer le paramètre `Response` dans des dépendances, et y définir des en-têtes (et des cookies).
    
    ## Renvoyer une `Response` directement { #return-a-response-directly }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Table.java

       *
       * @param rowKey key of row to search for
       * @param columnKey key of column to search for
       */
      boolean contains(
          @CompatibleWith("R") @Nullable Object rowKey,
          @CompatibleWith("C") @Nullable Object columnKey);
    
      /**
       * Returns {@code true} if the table contains a mapping with the specified row key.
       *
       * @param rowKey key of row to search for
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  3. docs/ko/docs/tutorial/header-params.md

    # 헤더 매개변수 { #header-parameters }
    
    헤더 매개변수를 `Query`, `Path` 그리고 `Cookie` 매개변수들과 같은 방식으로 정의할 수 있습니다.
    
    ## `Header` 임포트 { #import-header }
    
    먼저 `Header`를 임포트합니다:
    
    {* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *}
    
    ## `Header` 매개변수 선언 { #declare-header-parameters }
    
    `Path`, `Query` 그리고 `Cookie`를 사용한 동일한 구조를 이용하여 헤더 매개변수를 선언합니다.
    
    첫 번째 값은 기본값이며, 추가 검증이나 어노테이션 매개변수 모두 전달할 수 있습니다:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Jan 11 00:15:26 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/header-params.md

    You can define Header parameters the same way you define `Query`, `Path` and `Cookie` parameters.
    
    ## Import `Header` { #import-header }
    
    First import `Header`:
    
    {* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *}
    
    ## Declare `Header` parameters { #declare-header-parameters }
    
    Then declare the header parameters using the same structure as with `Path`, `Query` and `Cookie`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. docs/ru/docs/advanced/response-headers.md

    **FastAPI** использует этот *временный* ответ, чтобы извлечь HTTP-заголовки (а также cookie и статус-код) и поместит их в финальный HTTP-ответ, который содержит возвращённое вами значение, отфильтрованное согласно `response_model`.
    
    Вы также можете объявлять параметр `Response` в зависимостях и устанавливать в них заголовки (и cookie).
    
    ## Вернуть `Response` напрямую { #return-a-response-directly }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt

      }
    
      @Test @Disabled
      fun cookie() {
        val cookie: Cookie = Cookie.Builder().build()
        val name: String = cookie.name()
        val value: String = cookie.value()
        val persistent: Boolean = cookie.persistent()
        val expiresAt: Long = cookie.expiresAt()
        val hostOnly: Boolean = cookie.hostOnly()
        val domain: String = cookie.domain()
        val path: String = cookie.path()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 13.3K bytes
    - Click Count (0)
  7. docs_src/dependencies/tutorial005_py310.py

    from fastapi import Cookie, Depends, FastAPI
    
    app = FastAPI()
    
    
    def query_extractor(q: str | None = None):
        return q
    
    
    def query_or_cookie_extractor(
        q: str = Depends(query_extractor), last_query: str | None = Cookie(default=None)
    ):
        if not q:
            return last_query
        return q
    
    
    @app.get("/items/")
    async def read_query(query_or_default: str = Depends(query_or_cookie_extractor)):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 443 bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CallLimitsTest.kt

      @Test
      fun largeResponseHeadersList() {
        server.enqueue(
          MockResponse
            .Builder()
            .addHeader("Set-Cookie", "a=${"A".repeat(255 * 1024)}")
            .addHeader("Set-Cookie", "b=${"B".repeat(1 * 1024)}")
            .body("I'm not even supposed to be here today.")
            .build(),
        )
        val call = client.newCall(Request(url = server.url("/")))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  9. docs/zh/docs/advanced/response-headers.md

    你可以在你的*路径操作函数*中声明一个 `Response` 类型的参数(就像你可以为 cookies 做的那样)。
    
    然后你可以在这个*临时*响应对象中设置头部。
    
    {* ../../docs_src/response_headers/tutorial002_py310.py hl[1, 7:8] *}
    
    然后你可以像平常一样返回任何你需要的对象(例如一个 `dict` 或者一个数据库模型)。
    
    如果你声明了一个 `response_model`,它仍然会被用来过滤和转换你返回的对象。
    
    **FastAPI** 将使用这个*临时*响应来提取头部(也包括 cookies 和状态码),并将它们放入包含你返回的值的最终响应中,该响应由任何 `response_model` 过滤。
    
    你也可以在依赖项中声明 `Response` 参数,并在其中设置头部(和 cookies)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  10. docs_src/dependencies/tutorial005_an_py310.py

    from typing import Annotated
    
    from fastapi import Cookie, Depends, FastAPI
    
    app = FastAPI()
    
    
    def query_extractor(q: str | None = None):
        return q
    
    
    def query_or_cookie_extractor(
        q: Annotated[str, Depends(query_extractor)],
        last_query: Annotated[str | None, Cookie()] = None,
    ):
        if not q:
            return last_query
        return q
    
    
    @app.get("/items/")
    async def read_query(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 510 bytes
    - Click Count (0)
Back to Top