Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 229 for allow (0.04 seconds)

  1. tests/test_forms_single_model.py

    
    class FormModelExtraAllow(BaseModel):
        param: str
    
        model_config = {"extra": "allow"}
    
    
    @app.post("/form/")
    def post_form(user: Annotated[FormModel, Form()]):
        return user
    
    
    @app.post("/form-extra-allow/")
    def post_form_extra_allow(params: Annotated[FormModelExtraAllow, Form()]):
        return params
    
    
    client = TestClient(app)
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/cors.md

    * `allow_origin_regex` - A regex string to match against origins that should be permitted to make cross-origin requests. e.g. `'https://.*\.example\.org'`.
    * `allow_methods` - A list of HTTP methods that should be allowed for cross-origin requests. Defaults to `['GET']`. You can use `['*']` to allow all standard methods.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

            // Check all CORS headers are present
            assertNotNull(responseHeaders.get("Access-Control-Allow-Origin"), "Allow-Origin header should be set");
            assertNotNull(responseHeaders.get("Access-Control-Allow-Methods"), "Allow-Methods header should be set");
            assertNotNull(responseHeaders.get("Access-Control-Allow-Headers"), "Allow-Headers header should be set");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.3K bytes
    - Click Count (0)
  4. docs/en/docs/advanced/behind-a-proxy.md

    ///
    
    ### Enable Proxy Forwarded Headers { #enable-proxy-forwarded-headers }
    
    You can start FastAPI CLI with the *CLI Option* `--forwarded-allow-ips` and pass the IP addresses that should be trusted to read those forwarded headers.
    
    If you set it to `--forwarded-allow-ips="*"` it would trust all the incoming IPs.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/net/HttpHeaders.java

      /** The HTTP {@code Access-Control-Allow-Headers} header field name. */
      public static final String ACCESS_CONTROL_ALLOW_HEADERS = "Access-Control-Allow-Headers";
    
      /** The HTTP {@code Access-Control-Allow-Methods} header field name. */
      public static final String ACCESS_CONTROL_ALLOW_METHODS = "Access-Control-Allow-Methods";
    
      /** The HTTP {@code Access-Control-Allow-Origin} header field name. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 24 14:36:23 GMT 2026
    - 35.6K bytes
    - Click Count (0)
  6. docs/ko/docs/advanced/behind-a-proxy.md

    ### 프록시 전달 헤더 활성화하기 { #enable-proxy-forwarded-headers }
    
    FastAPI CLI를 *CLI 옵션* `--forwarded-allow-ips`로 실행하고, 전달 헤더를 읽을 수 있도록 신뢰할 IP 주소들을 넘길 수 있습니다.
    
    `--forwarded-allow-ips="*"`로 설정하면 들어오는 모든 IP를 신뢰합니다.
    
    **서버**가 신뢰할 수 있는 **프록시** 뒤에 있고 프록시만 서버에 접근한다면, 이는 해당 **프록시**의 IP가 무엇이든 간에 받아들이게 됩니다.
    
    <div class="termy">
    
    ```console
    $ fastapi run --forwarded-allow-ips="*"
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/graph/NetworkBuilder.java

     * user-defined properties.
     *
     * <p>A {@code Network} built by this class has the following default properties:
     *
     * <ul>
     *   <li>does not allow parallel edges
     *   <li>does not allow self-loops
     *   <li>orders {@link Network#nodes()} and {@link Network#edges()} in the order in which the
     *       elements were added (insertion order)
     * </ul>
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/advanced/behind-a-proxy.md

    ///
    
    ### 啟用代理轉發標頭 { #enable-proxy-forwarded-headers }
    
    你可以在啟動 FastAPI CLI 時使用「CLI 選項」`--forwarded-allow-ips`,並傳入允許解析這些轉發標頭的受信任 IP 位址。
    
    如果將其設為 `--forwarded-allow-ips="*"`,就會信任所有進來的 IP。
    
    如果你的「伺服器」位於受信任的「代理」之後,且只有代理會與它通訊,這樣會讓它接受該「代理」的任何 IP。
    
    <div class="termy">
    
    ```console
    $ fastapi run --forwarded-allow-ips="*"
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

        ValueGraphBuilder<N1, V1> castBuilder = cast();
        return new ImmutableValueGraph.Builder<>(castBuilder);
      }
    
      /**
       * Specifies whether the graph will allow self-loops (edges that connect a node to itself).
       * Attempting to add a self-loop to a graph that does not allow them will throw an {@link
       * UnsupportedOperationException}.
       *
       * <p>The default value is {@code false}.
       */
      @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  10. docs/ja/docs/advanced/behind-a-proxy.md

    ### プロキシ転送ヘッダーを有効化 { #enable-proxy-forwarded-headers }
    
    FastAPI CLI を *CLI オプション* `--forwarded-allow-ips` 付きで起動し、転送ヘッダーを信頼して読んでよい IP アドレスを指定できます。
    
    `--forwarded-allow-ips="*"` とすると、すべての送信元 IP を信頼します。
    
    **サーバー** が信頼できる **プロキシ** の背後にあり、そのプロキシからのみ接続される場合、プロキシの IP を受け入れるようになります。
    
    <div class="termy">
    
    ```console
    $ fastapi run --forwarded-allow-ips="*"
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 18.9K bytes
    - Click Count (0)
Back to Top