Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1171 - 1180 of 1,695 for URL (0.08 seconds)

  1. docs/zh/docs/advanced/settings.md

    # 设置和环境变量 { #settings-and-environment-variables }
    
    在许多情况下,你的应用可能需要一些外部设置或配置,例如密钥、数据库凭据、电子邮件服务的凭据等。
    
    这些设置中的大多数是可变的(可能会改变),例如数据库 URL。并且很多可能是敏感的,比如密钥。
    
    因此,通常会将它们提供为由应用程序读取的环境变量。
    
    /// tip | 提示
    
    要理解环境变量,你可以阅读[环境变量](../environment-variables.md)。
    
    ///
    
    ## 类型和验证 { #types-and-validation }
    
    这些环境变量只能处理文本字符串,因为它们在 Python 之外,并且必须与其他程序及系统的其余部分兼容(甚至与不同的操作系统,如 Linux、Windows、macOS)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/index.md

    <!-- sponsors -->
    
    ### 基石贊助商 { #keystone-sponsor }
    
    {% for sponsor in sponsors.keystone -%}
    <a href="{{ sponsor.url }}" title="{{ sponsor.title }}"><img src="{{ sponsor.img }}" style="border-radius:15px"></a>
    {% endfor -%}
    
    ### 金級與銀級贊助商 { #gold-and-silver-sponsors }
    
    {% for sponsor in sponsors.gold -%}
    <a href="{{ sponsor.url }}" title="{{ sponsor.title }}"><img src="{{ sponsor.img }}" style="border-radius:15px"></a>
    {% endfor -%}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 20.8K bytes
    - Click Count (0)
  3. cmd/bucket-replication-utils.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"fmt"
    	"maps"
    	"net/http"
    	"net/url"
    	"regexp"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/bucket/replication"
    	"github.com/minio/minio/internal/crypto"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  4. docs/zh/docs/advanced/security/oauth2-scopes.md

    * 常见示例:`users:read` 或 `users:write`
    * Facebook / Instagram 使用 `instagram_basic`
    * Google 使用 `https://www.googleapis.com/auth/drive`
    
    /// info | 信息
    
    在 OAuth2 中,“作用域”只是一个声明所需特定权限的字符串。
    
    是否包含像 `:` 这样的字符,或者是不是一个 URL,并不重要。
    
    这些细节取决于具体实现。
    
    对 OAuth2 而言,它们都只是字符串。
    
    ///
    
    ## 全局纵览 { #global-view }
    
    首先,让我们快速看看与**用户指南**中 [OAuth2 实现密码(含哈希)、Bearer + JWT 令牌](../../tutorial/security/oauth2-jwt.md) 示例相比有哪些变化。现在开始使用 OAuth2 作用域:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 13K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

         */
        public static String getObjectName(final String path, final String name) {
            return getPathPrefix(path) + name;
        }
    
        /**
         * Encodes an object name to a URL-safe base64 string.
         *
         * @param objectName the object name to encode
         * @return base64 encoded string
         */
        protected static String encodeId(final String objectName) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/advanced/custom-response.md

    {* ../../docs_src/custom_response/tutorial006_py310.py hl[2,9] *}
    
    ---
    
    或者你可以在 `response_class` 參數中使用它:
    
    {* ../../docs_src/custom_response/tutorial006b_py310.py hl[2,7,9] *}
    
    若這麼做,你就可以在「路徑操作函式」中直接回傳 URL。
    
    在此情況下,所使用的 `status_code` 會是 `RedirectResponse` 的預設值 `307`。
    
    ---
    
    你也可以同時搭配 `status_code` 與 `response_class` 參數:
    
    {* ../../docs_src/custom_response/tutorial006c_py310.py hl[2,7,9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/advanced/generate-clients.md

    ### 使用自訂 Operation ID 產生 TypeScript 用戶端 { #generate-a-typescript-client-with-custom-operation-ids }
    
    現在,如果你再次產生用戶端,會看到方法名稱已改善:
    
    <img src="/img/tutorial/generate-clients/image07.png">
    
    如你所見,方法名稱現在包含標籤與函式名稱,不再包含 URL 路徑與 HTTP 操作的資訊。
    
    ### 為用戶端產生器預處理 OpenAPI 規格 { #preprocess-the-openapi-specification-for-the-client-generator }
    
    產生的程式碼仍有一些**重複資訊**。
    
    我們已經知道這個方法與 **items** 相關,因為該字已出現在 `ItemsService`(取自標籤)中,但方法名稱仍然加上了標籤名稱做前綴。😕
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/deployment/https.md

    但你可以設定**應用伺服器**去信任由**代理**送來的「轉發」標頭。若你使用 FastAPI CLI,可以用 *CLI 參數* `--forwarded-allow-ips` 指定應信任哪些 IP 來的「轉發」標頭。
    
    例如,如果**應用伺服器**只會接收來自受信任**代理**的連線,你可以設定 `--forwarded-allow-ips="*"`,也就是信任所有來源 IP,因為實際上它只會收到**代理**那個 IP 送來的請求。
    
    如此一來,應用就能知道自己的對外 URL、是否使用 HTTPS、網域為何等資訊。
    
    這在正確處理重新導向等情境時很有用。
    
    /// tip
    
    你可以在文件 [在代理後方 - 啟用代理轉發標頭](../advanced/behind-a-proxy.md#enable-proxy-forwarded-headers) 中了解更多。
    
    ///
    
    ## 重點回顧 { #recap }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  9. helm-releases/minio-5.2.0.tgz

    oidc: enabled: false configUrl: "https://identity-provider-url/.well-known/openid-configuration" clientId: "minio" clientSecret: "" # Provide existing client secret from the Kubernetes Secret resource, existing secret will have priority over `clientId` and/or `clientSecret`` existingClientSecret: "" existingClientIdKey: "" existingClientSecret: "" claimName: "policy" scopes: "openid,profile,email" redirectUri: "https://console-endpoint-url/oauth_callback" # Can leave empty claimPrefix: "" comment:...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 21.7K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/alternatives.md

    > Requests is one of the most downloaded Python packages of all time
    
    用法非常簡單。例如,發出一個 `GET` 請求,你會寫:
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    相對地,FastAPI 的 API 路徑操作(path operation)可能像這樣:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
    看看 `requests.get(...)` 與 `@app.get(...)` 的相似之處。
    
    /// check | 啟發 **FastAPI**
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 20K bytes
    - Click Count (0)
Back to Top