Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 935 for requestId (0.04 sec)

  1. docs/zh/docs/advanced/using-request-directly.md

    但在某些特定情况下,还是需要提取 `Request` 对象。
    
    ## 直接使用 `Request` 对象
    
    假设要在*路径操作函数*中获取客户端 IP 地址和主机。
    
    此时,需要直接访问请求。
    
    {* ../../docs_src/using_request_directly/tutorial001.py hl[1,7:8] *}
    
    把*路径操作函数*的参数类型声明为 `Request`,**FastAPI** 就能把 `Request` 传递到参数里。
    
    /// tip | 提示
    
    注意,本例除了声明请求参数之外,还声明了路径参数。
    
    因此,能够提取、验证路径参数、并转换为指定类型,还可以用 OpenAPI 注释。
    
    同样,您也可以正常声明其它参数,而且还可以提取 `Request`。
    
    ///
    
    ## `Request` 文档
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/request-form-models.md

    **FastAPI** 将从请求中的**表单数据**中**提取**出**每个字段**的数据,并提供您定义的 Pydantic 模型。
    
    ## 检查文档
    
    您可以在文档 UI 中验证它,地址为 `/docs` :
    
    <div class="screenshot">
    <img src="/img/tutorial/request-form-models/image01.png">
    </div>
    
    ## 禁止额外的表单字段
    
    在某些特殊使用情况下(可能并不常见),您可能希望将表单字段**限制**为仅在 Pydantic 模型中声明过的字段,并**禁止**任何**额外**的字段。
    
    /// note
    
    自 FastAPI 版本 `0.114.0` 起支持此功能。🤓
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 10 20:36:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. docs/pt/docs/advanced/using-request-directly.md

    ///
    
    ## Documentação do `Request` { #request-documentation }
    
    Você pode ler mais sobre os detalhes do objeto <a href="https://www.starlette.dev/requests/" class="external-link" target="_blank">`Request` no site da documentação oficial do Starlette.</a>.
    
    /// note | Detalhes Técnicos
    
    Você também pode utilizar `from starlette.requests import Request`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/request-form-models.md

    ## Confira os Documentos { #check-the-docs }
    
    Você pode verificar na UI de documentação em `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/request-form-models/image01.png">
    </div>
    
    ## Proibir Campos Extras de Formulários { #forbid-extra-form-fields }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResolver.java

            List<MetadataResult> results = repositorySystem.resolveMetadata(request.getRepositorySession(), requests);
            requests.clear();
    
            PluginPrefixResult result = processResults(request, trace, results, requests, candidates);
    
            if (result != null) {
                return result;
            }
    
            // second try, refetch all (possibly outdated) metadata that wasn't updated in the first attempt
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 17 13:14:10 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Shortcut for {@code getService(ArtifactResolver.class).resolve(...)}.
         *
         * @param coordinates coordinates of the artifact to resolve
         * @return requested artifact together with the path to its file
         * @throws org.apache.maven.api.services.ArtifactResolverException if the artifact resolution failed
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt

     * server's hostname and port. If an explicit proxy is requested (or [no proxy][Proxy.NO_PROXY] is
     * explicitly requested), this also includes that proxy information. For secure connections the
     * address also includes the SSL socket factory, hostname verifier, and certificate pinner.
     *
     * HTTP requests that share the same [Address] may also share the same [Connection].
     */
    class Address(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. docs/iam/identity-management-plugin.md

    | user               | string                                  | Identifier for owner of requested credentials          |
    | maxValiditySeconds | integer (>= 900 seconds and < 365 days) | Maximum allowed expiry duration for the credentials    |
    | claims             | key-value pairs                         | Claims to be associated with the requested credentials |
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/error/ErrorNotfoundAction.java

    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.HtmlResponse;
    
    /**
     * Action class for handling HTTP 404 Not Found error pages.
     * This action displays error pages when the requested resource
     * cannot be found on the server.
     */
    public class ErrorNotfoundAction extends FessSearchAction {
    
        /**
         * Default constructor for ErrorNotfoundAction.
         */
        public ErrorNotfoundAction() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

       *
       * Use the `request` of the [networkResponse] field to get the wire-level request that was
       * transmitted. In the case of follow-ups and redirects, also look at the `request` of the
       * [priorResponse] objects, which have its own [priorResponse].
       */
      @get:JvmName("request") val request: Request,
      /** Returns the HTTP protocol, such as [Protocol.HTTP_1_1] or [Protocol.HTTP_1_0]. */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top