Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 711 - 720 of 890 for _path_ (0.04 seconds)

  1. docs/zh-hant/docs/advanced/security/oauth2-scopes.md

    為了簡化,這裡我們只是直接把接收到的 scopes 加進 token。
    
    但在你的應用中,為了安全性,你應確保只加入該使用者實際可擁有或你預先定義的 scopes。
    
    ///
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[157] *}
    
    ## 在路徑操作與相依性中宣告 scopes { #declare-scopes-in-path-operations-and-dependencies }
    
    現在我們宣告 `/users/me/items/` 這個路徑操作需要 `items` 這個 scope。
    
    為此,我們從 `fastapi` 匯入並使用 `Security`。
    
    你可以使用 `Security` 來宣告相依性(就像 `Depends`),但 `Security` 也能接收參數 `scopes`,其為 scopes(字串)的列表。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  2. src/main/webapp/WEB-INF/view/admin/dict/stemmeroverride/admin_dict_stemmeroverride_download.jsp

                                        <la:errors/>
                                    </div>
                                    <div class="form-group row">
                                        <label class="col-sm-12 col-form-label">${f:h(path)}</label>
                                    </div>
                                </div>
                                <div class="card-footer">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/PushObserver.kt

       *
       * @param streamId server-initiated stream ID: an even number.
       * @param requestHeaders minimally includes `:method`, `:scheme`, `:authority`,
       * and `:path`.
       */
      fun onRequest(
        streamId: Int,
        requestHeaders: List<Header>,
      ): Boolean
    
      /**
       * The response headers corresponding to a pushed request.  When [last] is true, there are
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnup/UpgradeOptions.java

        /**
         * Returns the directory to use as starting point for POM discovery.
         * If not specified, the current directory will be used.
         *
         * @return an {@link Optional} containing the directory path, or empty if not specified
         */
        @Nonnull
        Optional<String> directory();
    
        /**
         * Should use inference when upgrading (remove redundant information).
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Aug 29 12:46:51 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  5. docs/ja/docs/tutorial/request-forms-and-files.md

    ファイルとフォームフィールドがフォームデータとしてアップロードされ、ファイルとフォームフィールドを受け取ります。
    
    また、いくつかのファイルを`bytes`として、いくつかのファイルを`UploadFile`として宣言することができます。
    
    /// warning | 注意
    
    *path operation*で複数の`File`と`Form`パラメータを宣言することができますが、JSONとして受け取ることを期待している`Body`フィールドを宣言することはできません。なぜなら、リクエストのボディは`application/json`の代わりに`multipart/form-data`を使ってエンコードされているからです。
    
    これは **FastAPI** の制限ではなく、HTTPプロトコルの一部です。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  6. docs/zh/docs/advanced/sub-applications.md

    下图显示的是子应用的 API 文档,也是只包括其自有的*路径操作*,所有这些路径操作都在 `/subapi` 子路径前缀下。
    
    <img src="/img/tutorial/sub-applications/image02.png">
    
    两个用户界面都可以正常运行,因为浏览器能够与每个指定的应用或子应用会话。
    
    ### 技术细节:`root_path` { #technical-details-root-path }
    
    以上述方式挂载子应用时,FastAPI 使用 ASGI 规范中的 `root_path` 机制处理挂载子应用路径之间的通信。
    
    这样,子应用就可以为自动文档使用路径前缀。
    
    并且子应用还可以再挂载子应用,一切都会正常运行,FastAPI 可以自动处理所有 `root_path`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/how-to/graphql.md

    # GraphQL { #graphql }
    
    由於 FastAPI 基於 ASGI 標準,整合任何與 ASGI 相容的 GraphQL 函式庫都很容易。
    
    你可以在同一個應用程式中同時使用一般的 FastAPI 路徑操作 (path operation) 與 GraphQL。
    
    /// tip
    
    GraphQL 解決某些非常特定的使用情境。
    
    與一般的 Web API 相比,它有優點也有缺點。
    
    請確認在你的使用情境中,這些效益是否足以彌補其限制。 🤓
    
    ///
    
    ## GraphQL 函式庫 { #graphql-libraries }
    
    下面是支援 ASGI 的部分 GraphQL 函式庫,你可以與 FastAPI 一起使用:
    
    * [Strawberry](https://strawberry.rocks/) 🍓
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/extra-data-types.md

    * `Decimal`:
        * 標準的 Python `Decimal`。
        * 在請求與回應中,與 `float` 的處理方式相同。
    * 你可以在此查閱所有可用的 Pydantic 資料型別:[Pydantic 資料型別](https://docs.pydantic.dev/latest/usage/types/types/)。
    
    ## 範例 { #example }
    
    以下是一個帶有參數、使用上述部分型別的 *路徑操作 (path operation)* 範例。
    
    {* ../../docs_src/extra_data_types/tutorial001_an_py310.py hl[1,3,12:16] *}
    
    請注意,函式內的參數會是它們的自然資料型別,因此你可以進行一般的日期運算,例如:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  9. docs/tr/docs/benchmarks.md

        * Uvicorn'dan sonra en iyi performansa sahip olacaktır. Aslında Starlette çalışmak için Uvicorn'u kullanır. Bu yüzden muhtemelen yalnızca daha fazla kod çalıştırmak zorunda kaldığı için Uvicorn'dan "daha yavaş" olabilir.
        * Ancak path tabanlı routing vb. ile basit web uygulamaları oluşturmanız için araçlar sağlar.
        * Starlette'i karşılaştırıyorsanız, Sanic, Flask, Django vb. web framework'lerle (veya mikroframework'lerle) karşılaştırın.
    * **FastAPI**:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/curl/CurlTest.java

        @Test
        public void test_FactoryMethodsWithDifferentUrls() {
            // ## Test factory methods with various URL formats ##
    
            // ## Act & Assert ##
            assertNotNull(Curl.get("https://secure.example.com/path?param=value"));
            assertNotNull(Curl.post("http://api.example.com/v1/resource"));
            assertNotNull(Curl.put("ftp://files.example.com/upload"));
            assertNotNull(Curl.delete("http://localhost:8080/delete"));
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 16.3K bytes
    - Click Count (0)
Back to Top