Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 612 for forced (0.07 seconds)

  1. docs/ja/docs/tutorial/header-param-models.md

    `/docs` のドキュメント UI で必要なヘッダーを確認できます:
    
    <div class="screenshot">
    <img src="/img/tutorial/header-param-models/image01.png">
    </div>
    
    ## 余分なヘッダーを禁止 { #forbid-extra-headers }
    
    特殊なユースケース(あまり一般的ではありません)では、受け付けるヘッダーを**制限**したい場合があります。
    
    Pydantic のモデル設定で `extra` フィールドを `forbid` にして禁止できます:
    
    {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *}
    
    クライアントが**余分なヘッダー**を送信しようとすると、**エラー**レスポンスが返されます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 15:24:30 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  2. docs_src/query_param_models/tutorial002_py310.py

    from typing import Literal
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        model_config = {"extra": "forbid"}
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 17 18:54:10 GMT 2024
    - 462 bytes
    - Click Count (0)
  3. cmd/api-utils.go

    	case '-', '_', '.', '/', '*':
    		return false
    	}
    	return true
    }
    
    // s3URLEncode is based on Golang's url.QueryEscape() code,
    // while considering some S3 exceptions:
    //   - Avoid encoding '/' and '*'
    //   - Force encoding of '~'
    func s3URLEncode(s string) string {
    	spaceCount, hexCount := 0, 0
    	for i := range len(s) {
    		c := s[i]
    		if shouldEscape(c) {
    			if c == ' ' {
    				spaceCount++
    			} else {
    				hexCount++
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  4. docs/bucket/lifecycle/setup_ilm_transition.sh

    	echo "waiting until the object is tiered to run heal"
    	sleep 1s
    done
    ./mc stat sitea/bucket/README.md
    
    success=$(./mc admin heal -r sitea/bucket/README.md --json --force | jq -r 'select((.name == "bucket/README.md") and (.after.color == "green")) | .after.color == "green"')
    if [ "${success}" != "true" ]; then
    	echo "Found bug expected transitioned object to report 'green'"
    	exit 1
    fi
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Oct 31 22:10:24 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  5. docs/fr/docs/tutorial/cookie-param-models.md

    ///
    
    ## Interdire les cookies supplémentaires { #forbid-extra-cookies }
    
    Dans certains cas d'utilisation particuliers (probablement peu courants), vous pourriez vouloir **restreindre** les cookies que vous souhaitez recevoir.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  6. docs/ja/docs/tutorial/cookie-param-models.md

    ///
    
    ## 余分なクッキーを禁止する { #forbid-extra-cookies }
    
    特定の(あまり一般的ではないかもしれない)ケースで、受け付けるクッキーを**制限**する必要があるかもしれません。
    
    あなたのAPIは独自の <dfn title="念のためですが、これはジョークです。クッキー同意とは関係ありませんが、APIでさえ今やかわいそうなクッキーを拒否できるのは面白いですね。クッキーでもどうぞ。🍪">クッキー同意</dfn> を管理する能力を持っています。 🤪🍪
    
    Pydanticのモデルの Configuration を利用して、 `extra` フィールドを `forbid` とすることができます。
    
    {* ../../docs_src/cookie_param_models/tutorial002_an_py310.py hl[10] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 15:24:30 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  7. src/main/assemblies/files/fess.in.bat

    REM set to headless, just in case
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Djava.awt.headless=true
    
    REM maximum # keep-alive connections to maintain at once
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Dhttp.maxConnections=20
    
    REM Force the JVM to use IPv4 stack
    if NOT "%FESS_USE_IPV4%" == "" (
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Djava.net.preferIPv4Stack=true
    )
    
    REM proxy
    if NOT "%FESS_PROXY_HOST%" == "" (
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 03:48:59 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

         * @param problem The problem whose location should be formatted, must not be {@code null}.
         * @param projectId The {@code <groupId>:<artifactId>:<version>} of the corresponding project, may be {@code null}
         *            to force output of model id and source.
         * @return The formatted problem location or an empty string if unknown, never {@code null}.
         */
        public static String formatLocation(ModelProblem problem, String projectId) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/Collections2Test.java

                .size());
    
        // Almost force an overflow in the binomial coefficient calculation
        assertEquals(
            1391975640 /*C(34,14)*/,
            Collections2.orderedPermutations(concat(nCopies(20, 1), nCopies(14, 2))).size());
        // Do force an overflow in the binomial coefficient calculation
        assertEquals(
            Integer.MAX_VALUE,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/resources/checkstyle.xml

          <property name="message" value="References java.io.Serializable." />
          <property name="ignoreComments" value="true" />
        </module>
        <!-- end Orwellian suppression of Serializable -->
    
        <!-- Forbid equality comparisons with `true` -->
        <module name="DescendantToken">
          <property name="id" value="EqualityWithTrue" />
          <property name="tokens" value="EQUAL" />
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 12:48:46 GMT 2021
    - 6K bytes
    - Click Count (0)
Back to Top