- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 332 for cookiev3 (0.14 sec)
-
docs/en/docs/advanced/response-headers.md
**FastAPI** will use that *temporal* response to extract the headers (also cookies and status code), and will put them in the final response that contains the value you returned, filtered by any `response_model`. You can also declare the `Response` parameter in dependencies, and set headers (and cookies) in them. ## Return a `Response` directly You can also add headers when you return a `Response` directly.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Jan 11 16:31:18 UTC 2024 - 2.2K bytes - Viewed (0) -
docs/en/docs/reference/parameters.md
It includes: * `Query()` * `Path()` * `Body()` * `Cookie()` * `Header()` * `Form()` * `File()` You can import them all directly from `fastapi`: ```python from fastapi import Body, Cookie, File, Form, Header, Path, Query ``` ::: fastapi.Query ::: fastapi.Path ::: fastapi.Body ::: fastapi.Cookie ::: fastapi.Header ::: fastapi.Form
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 603 bytes - Viewed (0) -
docs/em/docs/tutorial/header-params.md
🥇 💲 🔢 💲, 👆 💪 🚶♀️ 🌐 ➕ 🔬 ⚖️ ✍ 🔢: === "🐍 3️⃣.6️⃣ & 🔛" ```Python hl_lines="9" {!> ../../../docs_src/header_params/tutorial001.py!} ``` === "🐍 3️⃣.1️⃣0️⃣ & 🔛" ```Python hl_lines="7" {!> ../../../docs_src/header_params/tutorial001_py310.py!} ``` !!! note "📡 ℹ" `Header` "👭" 🎓 `Path`, `Query` & `Cookie`. ⚫️ 😖 ⚪️➡️ 🎏 ⚠ `Param` 🎓.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Apr 01 09:26:04 UTC 2023 - 3.2K bytes - Viewed (0) -
okhttp/src/test/java/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()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/header-params.md
# Parâmetros de Cabeçalho Você pode definir parâmetros de Cabeçalho da mesma maneira que define paramêtros com `Query`, `Path` e `Cookie`. ## importe `Header` Primeiro importe `Header`: === "Python 3.10+" ```Python hl_lines="1" {!> ../../../docs_src/header_params/tutorial001_py310.py!} ``` === "Python 3.8+" ```Python hl_lines="3" {!> ../../../docs_src/header_params/tutorial001.py!} ```
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Oct 17 05:59:11 UTC 2023 - 3.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersTest.kt
.add("proxy-authorization", "chocolate") .add("cookie", "drink=coffee") .add("set-cookie", "accessory=sugar") .add("user-agent", "OkHttp") .build() assertThat(headers.toString()).isEqualTo( """ |content-length: 99 |authorization: ██ |proxy-authorization: ██ |cookie: ██ |set-cookie: ██ |user-agent: OkHttp |
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.6K bytes - Viewed (0) -
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)):
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 443 bytes - Viewed (0) -
docs/de/docs/reference/parameters.md
Dies beinhaltet: * `Query()` * `Path()` * `Body()` * `Cookie()` * `Header()` * `Form()` * `File()` Sie können diese alle direkt von `fastapi` importieren: ```python from fastapi import Body, Cookie, File, Form, Header, Path, Query ``` ::: fastapi.Query ::: fastapi.Path ::: fastapi.Body ::: fastapi.Cookie ::: fastapi.Header ::: fastapi.Form
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 18:17:26 UTC 2024 - 635 bytes - Viewed (0) -
docs/pt/docs/features.md
* Chaves de API em: * Headers. * parâmetros da Query. * Cookies etc. Além disso, todos os recursos de seguranças do Starlette (incluindo **cookies de sessão**).
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 10.4K bytes - Viewed (0) -
docs_src/dependencies/tutorial005.py
from typing import Union from fastapi import Cookie, Depends, FastAPI app = FastAPI() def query_extractor(q: Union[str, None] = None): return q def query_or_cookie_extractor( q: str = Depends(query_extractor), last_query: Union[str, None] = Cookie(default=None), ): if not q: return last_query return q @app.get("/items/")
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 486 bytes - Viewed (0)