- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 268 for Cookies (0.06 sec)
-
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) def is_coroutine_callable(call: Callable[..., Any]) -> bool: if inspect.isroutine(call):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 21:46:26 UTC 2024 - 34.7K bytes - Viewed (0) -
docs/pt/docs/index.md
**Alerta de Spoiler**: o tutorial - guia do usuário inclui: * Declaração de **parâmetetros** de diferentes lugares como: **cabeçalhos**, **cookies**, **campos de formulários** e **arquivos**. * Como configurar **Limitações de Validação** como `maximum_length` ou `regex`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 18.6K bytes - Viewed (0) -
docs/fa/docs/index.md
* JSON. * <abbr title="Path parameters">پارامترهای مسیر</abbr>. * <abbr title="Query parameters">پارامترهای پرسمان</abbr>. * <abbr title="Cookies">کوکیها</abbr>. * <abbr title="Headers">سرآیندها (هدرها)</abbr>. * <abbr title="Forms">فرمها</abbr>. * <abbr title="Files">فایلها</abbr>.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 25.9K bytes - Viewed (0) -
docs/changelogs/changelog_2x.md
handling in WebSockets is significantly improved. * Fix: Don't use SPDY/3 style header concatenation for HTTP/2 request headers. This could have corrupted requests where multiple headers had the same name, as in cookies. * Fix: Reject bad characters in the URL hostname. Previously characters like `\0` would cause a late crash when building the request. * Fix: Allow interceptors to change the request method.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 26.6K bytes - Viewed (0) -
docs/en/docs/release-notes.md
@app.get("/items/") async def read_items(cookies: Annotated[Cookies, Cookie()]): return cookies ``` Read the new docs: [Cookie Parameter Models](https://fastapi.tiangolo.com/tutorial/cookie-param-models/). #### Forbid Extra Query (Cookie, Header) Parameters Use Pydantic models to restrict extra values for `Query` parameters (also applies to `Header` and `Cookie` parameters).
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Nov 01 11:25:57 UTC 2024 - 460.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt
* cookies can be 4KiB, and should be possible to send. * * http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12#section-5.2 */ @Test fun largeHeaderValue() { val value = CharArray(4096) Arrays.fill(value, '!') val headerBlock = headerEntries("cookie", String(value)) hpackWriter!!.writeHeaders(headerBlock)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 38.2K bytes - Viewed (0) -
tests/test_schema_extra_examples.py
def cookie_example( data: Union[str, None] = Cookie( default=None, example="cookie1", ), ): return data @app.get("/cookie_examples/") def cookie_examples( data: Union[str, None] = Cookie( default=None, examples=["cookie1", "cookie2"], ), ): return data
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 24 20:26:06 UTC 2023 - 37.7K bytes - Viewed (0) -
tests/test_openapi_examples.py
"Cookie One": { "summary": "Cookie One Summary", "description": "Cookie One Description", "value": "cookie1", }, "Cookie Two": {"value": "cookie2"}, }, }
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 06 15:57:43 UTC 2024 - 17.7K bytes - Viewed (0) -
docs/tr/docs/tutorial/cookie-params.md
# Çerez (Cookie) Parametreleri `Query` (Sorgu) ve `Path` (Yol) parametrelerini tanımladığınız şekilde çerez parametreleri tanımlayabilirsiniz. ## Import `Cookie` Öncelikle, `Cookie`'yi projenize dahil edin: //// tab | Python 3.10+ ```Python hl_lines="3" {!> ../../docs_src/cookie_params/tutorial001_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="3"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.6K bytes - Viewed (0) -
docs/ja/docs/tutorial/cookie-params.md
クッキーのパラメータは、`Query`や`Path`のパラメータを定義するのと同じ方法で定義できます。 ## `Cookie`をインポート まず、`Cookie`をインポートします: ```Python hl_lines="3" {!../../docs_src/cookie_params/tutorial001.py!} ``` ## `Cookie`のパラメータを宣言 次に、`Path`や`Query`と同じ構造を使ってクッキーのパラメータを宣言します。 最初の値がデフォルト値で、追加の検証パラメータや注釈パラメータをすべて渡すことができます: ```Python hl_lines="9" {!../../docs_src/cookie_params/tutorial001.py!} ``` /// note | "技術詳細"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.4K bytes - Viewed (0)