- Sort Score
- Num 10 results
- Language All
Results 1801 - 1810 of 2,522 for checkOn (0.05 seconds)
-
docs/ja/docs/advanced/strict-content-type.md
# Content-Type の厳格チェック { #strict-content-type-checking } 既定では、FastAPI は JSON リクエストボディに対して厳格な `Content-Type` ヘッダーのチェックを行います。つまり、JSON のリクエストを JSON として解析するには、有効な `Content-Type` ヘッダー(例: `application/json`)を必ず含める必要があります。 ## CSRF のリスク { #csrf-risk } この既定の挙動は、ある特定の状況における Cross-Site Request Forgery(CSRF)攻撃の一種に対する保護を提供します。 これらの攻撃は、次の条件を満たすときにブラウザが CORS のプリフライトチェックを行わずにスクリプトからリクエストを送信できる事実を悪用します。 - `Content-Type` ヘッダーがない(例: `Blob` をボディにして `fetch()` を使う)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:55:22 GMT 2026 - 4.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
protected Entry<K, V> entry(K key, V value) { return mapEntry(key, value); } @Override protected void expectContents(Collection<Entry<K, V>> expected) { // TODO: move this to invariant checks once the appropriate hook exists? super.expectContents(expected); for (Entry<K, V> entry : expected) { assertEquals(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 7.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/EnumsTest.java
for (String entry : Splitter.on(PATH_SEPARATOR.value()).split(JAVA_CLASS_PATH.value())) { try { try { urls.add(new File(entry).toURI().toURL()); } catch (SecurityException e) { // File.toURI checks to see if the file is a directory urls.add(new URL("file", null, new File(entry).getAbsolutePath())); } } catch (MalformedURLException e) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 01:05:11 GMT 2026 - 8.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ChangelogEntry.java
import java.util.Locale; import java.util.Objects; import java.util.stream.Collectors; /** * This class models the contents of a changelog YAML file. We validate it using a * JSON Schema, as well as some programmatic checks in {@link ValidateChangelogEntryTask}. * <ul> * <li><code>buildSrc/src/main/resources/changelog-schema.json</code></li> * <li><a href="https://json-schema.org/understanding-json-schema/">Understanding JSON Schema</a></li>Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 01 06:25:29 GMT 2021 - 9.3K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
} } // Optimization - use signed division if dividend < 2^63 if (dividend >= 0) { return dividend / divisor; } /* * Otherwise, approximate the quotient, check, and correct if necessary. Our approximation is * guaranteed to be either exact or one less than the correct value. This follows from fact thatCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 17.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
} /* * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that * (so much for "black box") and try instances that both do and don't pass the check. The "don't" * half of that is more awkward to arrange... */ private static <T> Iterable<T> iterable(Collection<T> collection) { // return collection::iterator; return new Iterable<T>() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 20.9K bytes - Click Count (0) -
cmd/encryption-v1_test.go
t.Errorf("Case %d: test failed: %d %d %d %d %d", i, o, l, skip, sn, ps) } } // Skip 1Mib and read 1Mib (in the decrypted object) // // The check below ensures the object is large enough // for the read. if lsum(test.decSizes) >= 2*humanize.MiByte { skipLen, readLen := int64(1)*humanize.MiByte, int64(1)*humanize.MiByte
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 19.9K bytes - Click Count (0) -
cmd/api-errors.go
Description: "The SelectRequest entity is missing a required parameter. Check the service documentation and try again.", HTTPStatusCode: http.StatusBadRequest, }, ErrObjectSerializationConflict: { Code: "ObjectSerializationConflict", Description: "The SelectRequest entity can only contain one of CSV or JSON. Check the service documentation and try again.", HTTPStatusCode: http.StatusBadRequest, },Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 16 07:34:24 GMT 2025 - 93K bytes - Click Count (3) -
docs/zh-hant/docs/virtual-environments.md
並使用這個。 //// 一個重要的細節是,虛擬環境路徑會被放在 `PATH` 變數的**開頭**。系統會在找到任何其他可用的 Python **之前**找到它。這樣,當你運行 `python` 時,它會使用**虛擬環境中的** Python,而不是任何其他 `python`(例如,全域環境中的 `python`)。 啟用虛擬環境還會改變其他一些內容,但這是它所做的最重要的事情之一。 ## 檢查虛擬環境 { #checking-a-virtual-environment } 當你檢查虛擬環境是否啟動時,例如: //// tab | Linux, macOS, Windows Bash <div class="termy"> ```console $ which python /home/user/code/awesome-project/.venv/bin/python ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 21K bytes - Click Count (0) -
docs/zh/docs/virtual-environments.md
并使用这个。 //// 一个重要的细节是,虚拟环境路径会被放在 `PATH` 变量的**开头**。系统会在找到任何其他可用的 Python **之前**找到它。这样,当你运行 `python` 时,它会使用**虚拟环境中**的 Python,而不是任何其他 `python`(例如,全局环境中的 `python`)。 激活虚拟环境还会改变其他一些东西,但这是它所做的最重要的事情之一。 ## 检查虚拟环境 { #checking-a-virtual-environment } 当你检查虚拟环境是否激活时,例如: //// tab | Linux, macOS, Windows Bash <div class="termy"> ```console $ which python /home/user/code/awesome-project/.venv/bin/python ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 21.4K bytes - Click Count (0)