- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 67 for forbid (0.17 sec)
-
docs/en/docs/tutorial/request-form-models.md
<div class="screenshot"> <img src="/img/tutorial/request-form-models/image01.png"> </div> ## Forbid Extra Form Fields { #forbid-extra-form-fields } In some special use cases (probably not very common), you might want to **restrict** the form fields to only those declared in the Pydantic model. And **forbid** any **extra** fields. /// note This is supported since FastAPI version `0.114.0`. π€ ///
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.2K bytes - Viewed (0) -
docs/en/docs/tutorial/header-param-models.md
<div class="screenshot"> <img src="/img/tutorial/header-param-models/image01.png"> </div> ## Forbid Extra Headers { #forbid-extra-headers } In some special use cases (probably not very common), you might want to **restrict** the headers that you want to receive. You can use Pydantic's model configuration to `forbid` any `extra` fields: {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.6K bytes - Viewed (0) -
docs/en/docs/tutorial/query-param-models.md
<div class="screenshot"> <img src="/img/tutorial/query-param-models/image01.png"> </div> ## Forbid Extra Query Parameters { #forbid-extra-query-parameters } In some special use cases (probably not very common), you might want to **restrict** the query parameters that you want to receive. You can use Pydantic's model configuration to `forbid` any `extra` fields: {* ../../docs_src/query_param_models/tutorial002_an_py310.py hl[10] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.2K bytes - Viewed (0) -
docs/en/docs/tutorial/cookie-param-models.md
But even if you **fill the data** and click "Execute", because the docs UI works with **JavaScript**, the cookies won't be sent, and you will see an **error** message as if you didn't write any values. /// ## Forbid Extra Cookies { #forbid-extra-cookies } In some special use cases (probably not very common), you might want to **restrict** the cookies that you want to receive.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3.1K bytes - Viewed (0) -
docs/ru/docs/tutorial/request-form-models.md
/// note | ΠΠ°ΠΌΠ΅ΡΠΊΠ° ΠΡΠΎΡ ΡΡΠ½ΠΊΡΠΈΠΎΠ½Π°Π» Π΄ΠΎΡΡΡΠΏΠ΅Π½ Ρ Π²Π΅ΡΡΠΈΠΈ `0.114.0`. π€ /// ΠΡ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΡΠΊΠΎΠ½ΡΠΈΠ³ΡΡΠΈΡΠΎΠ²Π°ΡΡ Pydantic-ΠΌΠΎΠ΄Π΅Π»Ρ ΡΠ°ΠΊ, ΡΡΠΎΠ±Ρ Π·Π°ΠΏΡΠ΅ΡΠΈΡΡ (`forbid`) Π²ΡΠ΅ Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ (`extra`) ΠΏΠΎΠ»Ρ: {* ../../docs_src/request_form_models/tutorial002_an_py39.py hl[12] *} ΠΡΠ»ΠΈ ΠΊΠ»ΠΈΠ΅Π½Ρ ΠΏΠΎΠΏΡΠΎΠ±ΡΠ΅Ρ ΠΎΡΠΏΡΠ°Π²ΠΈΡΡ Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅, ΡΠΎ Π² ΠΎΡΠ²Π΅Ρ ΠΎΠ½ ΠΏΠΎΠ»ΡΡΠΈΡ **ΠΎΡΠΈΠ±ΠΊΡ**.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri May 30 13:17:36 UTC 2025 - 3.3K bytes - Viewed (0) -
docs/uk/docs/tutorial/query-param-models.md
Π£ Π΄Π΅ΡΠΊΠΈΡ ΠΎΡΠΎΠ±Π»ΠΈΠ²ΠΈΡ Π²ΠΈΠΏΠ°Π΄ΠΊΠ°Ρ (ΠΉΠΌΠΎΠ²ΡΡΠ½ΠΎ, Π½Π΅ Π΄ΡΠΆΠ΅ ΠΏΠΎΡΠΈΡΠ΅Π½ΠΈΡ ) ΠΠΈ ΠΌΠΎΠΆΠ΅ΡΠ΅ Π·Π°Ρ ΠΎΡΡΡΠΈ **ΠΎΠ±ΠΌΠ΅ΠΆΠΈΡΠΈ** query ΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡΠΈ, ΡΠΊΡ Π΄ΠΎΠ·Π²ΠΎΠ»Π΅Π½ΠΎ ΠΎΡΡΠΈΠΌΡΠ²Π°ΡΠΈ. ΠΠΈ ΠΌΠΎΠΆΠ΅ΡΠ΅ Π²ΠΈΠΊΠΎΡΠΈΡΡΠ°ΡΠΈ ΠΊΠΎΠ½ΡΡΠ³ΡΡΠ°ΡΡΡ ΠΌΠΎΠ΄Π΅Π»Ρ Pydantic, ΡΠΎΠ± Π·Π°Π±ΠΎΡΠΎΠ½ΠΈΡΠΈ (`forbid`) Π±ΡΠ΄Ρ-ΡΠΊΡ Π·Π°ΠΉΠ²Ρ (`extra`) ΠΏΠΎΠ»Ρ: {* ../../docs_src/query_param_models/tutorial002_an_py310.py hl[10] *} Π―ΠΊΡΠΎ ΠΊΠ»ΡΡΠ½Ρ ΡΠΏΡΠΎΠ±ΡΡ Π½Π°Π΄ΡΡΠ»Π°ΡΠΈ **Π·Π°ΠΉΠ²Ρ** Π΄Π°Π½Ρ Ρ **query ΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡΠ°Ρ **, Π²ΡΠ½ ΠΎΡΡΠΈΠΌΠ°Ρ **ΠΏΠΎΠΌΠΈΠ»ΠΊΡ**.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Thu Jun 05 12:12:04 UTC 2025 - 3.2K bytes - Viewed (0) -
docs/ru/docs/tutorial/cookie-param-models.md
ΠΡ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΡΠΊΠΎΠ½ΡΠΈΠ³ΡΡΠΈΡΠΎΠ²Π°ΡΡ Pydantic-ΠΌΠΎΠ΄Π΅Π»Ρ ΡΠ°ΠΊ, ΡΡΠΎΠ±Ρ Π·Π°ΠΏΡΠ΅ΡΠΈΡΡ (`forbid`) Π»ΡΠ±ΡΠ΅ Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ (`extra`) ΠΏΠΎΠ»Ρ: {* ../../docs_src/cookie_param_models/tutorial002_an_py39.py hl[10] *} ΠΡΠ»ΠΈ ΠΊΠ»ΠΈΠ΅Π½Ρ ΠΏΠΎΠΏΡΠΎΠ±ΡΠ΅Ρ ΠΎΡΠΏΡΠ°Π²ΠΈΡΡ **Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ cookies**, ΡΠΎ Π² ΠΎΡΠ²Π΅Ρ ΠΎΠ½ ΠΏΠΎΠ»ΡΡΠΈΡ **ΠΎΡΠΈΠ±ΠΊΡ**.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri May 30 14:14:42 UTC 2025 - 4.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
* Apply inbound settings and send an acknowledgement to the peer that provided them. * * We need to apply the settings and ack them atomically. This is because some HTTP/2 * implementations (nghttp2) forbid peers from taking advantage of settings before they have * acknowledged! In particular, we shouldn't send frames that assume a new `initialWindowSize` * until we send the frame that acknowledges this new size. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 31.8K bytes - Viewed (0) -
docs/en/docs/release-notes.md
* [Forbid Extra Query Parameters](https://fastapi.tiangolo.com/tutorial/query-param-models/#forbid-extra-query-parameters) * [Forbid Extra Headers](https://fastapi.tiangolo.com/tutorial/header-param-models/#forbid-extra-headers) * [Forbid Extra Cookies](https://fastapi.tiangolo.com/tutorial/cookie-param-models/#forbid-extra-cookies) ### Features
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Sep 05 12:48:45 UTC 2025 - 544.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
apply { // Create a private copy of the list. val protocolsCopy = protocols.toMutableList() // Validate that the list has everything we require and nothing we forbid. require(Protocol.H2_PRIOR_KNOWLEDGE in protocolsCopy || HTTP_1_1 in protocolsCopy) { "protocols must contain h2_prior_knowledge or http/1.1: $protocolsCopy" }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 51.7K bytes - Viewed (0)