- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 44 for forbid (0.05 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) -
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/jvmTest/kotlin/okhttp3/CacheTest.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 113.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
) executeSynchronously(Request(server.url("/"))) assertThat(server.takeRequest().exchangeIndex).isEqualTo(0) assertThat(server.takeRequest().exchangeIndex).isEqualTo(1) } /** We forbid non-ASCII characters in outgoing request headers, but accept UTF-8. */ @Test fun responseHeaderParsingIsLenient() { val headersBuilder = Headers.Builder() headersBuilder.add("Content-Length", "0")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 146.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
.testEquals(); } @AndroidIncompatible // Android forbids null parent ClassLoader public void testClassPathEntries_emptyURLClassLoader_noParent() { assertThat(ClassPath.getClassPathEntries(new URLClassLoader(new URL[0], null)).keySet()) .isEmpty(); } @AndroidIncompatible // Android forbids null parent ClassLoader public void testClassPathEntries_urlClassLoader_noParent() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 23K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Utf8.java
// Check that we have a well-formed surrogate pair. if (Character.codePointAt(sequence, i) == c) { throw new IllegalArgumentException(unpairedSurrogateMsg(i)); } i++; } } } return utf8Length; } /** * Returns {@code true} if {@code bytes} is a <i>well-formed</i> UTF-8 byte sequence according to
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 7K bytes - Viewed (0)