Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 759 for severity (0.14 sec)

  1. docs/zh/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    在*路径操作装饰器*中使用 `dependencies` 参数,可以确保在执行依赖项的同时,避免编辑器显示错误提示。
    
    使用路径装饰器依赖项还可以避免开发新人误会代码中包含无用的未使用参数。
    
    ///
    
    /// info | "说明"
    
    本例中,使用的是自定义响应头 `X-Key` 和 `X-Token`。
    
    但实际开发中,尤其是在实现安全措施时,最好使用 FastAPI 内置的[安全工具](../security/index.md){.internal-link target=_blank}(详见下一章)。
    
    ///
    
    ## 依赖项错误和返回值
    
    路径装饰器依赖项也可以使用普通的依赖项*函数*。
    
    ### 依赖项的需求项
    
    路径装饰器依赖项可以声明请求的需求项(比如响应头)或其他子依赖项:
    
    ```Python hl_lines="6  11"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/ParameterUtil.java

    import java.util.regex.Pattern;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.misc.Pair;
    import org.codelibs.fess.es.config.exentity.CrawlingConfig.ConfigName;
    import org.lastaflute.core.security.PrimaryCipher;
    
    public class ParameterUtil {
        private static final String CIPHER_PREFIX = "{cipher}";
    
        protected static final String XPATH_PREFIX = "field.xpath.";
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. docs/security/tls_configuration_history.md

    TLS Configuration History
    =========================
    
    OkHttp tracks the dynamic TLS ecosystem to balance connectivity and security. This page is a log of
    changes we've made over time to OkHttp's default TLS options.
    
    [OkHttp 3.14][OkHttp314]
    ------------------------
    
    _2019-03-14_
    
    Remove 2 TLSv1.3 cipher suites that are neither available on OkHttp’s host platforms nor enabled in releases of Chrome and Firefox.
    
    ##### RESTRICTED_TLS cipher suites
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 9K bytes
    - Viewed (0)
  4. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.matchesPredicate
    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.ServerSocket
    import java.security.PrivateKey
    import java.util.concurrent.ExecutorService
    import java.util.concurrent.Executors
    import java.util.concurrent.Future
    import javax.net.ServerSocketFactory
    import javax.net.SocketFactory
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. .teamcity/subprojects.json

      {
        "name": "scala",
        "path": "platforms/jvm/scala",
        "unitTests": true,
        "functionalTests": true,
        "crossVersionTests": false
      },
      {
        "name": "security",
        "path": "platforms/software/security",
        "unitTests": true,
        "functionalTests": false,
        "crossVersionTests": false
      },
      {
        "name": "serialization",
        "path": "platforms/core-runtime/serialization",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 23 22:33:41 UTC 2024
    - 34.3K bytes
    - Viewed (0)
  6. fastapi/openapi/models.py

        responses: Optional[Dict[str, Union[Response, Any]]] = None
        callbacks: Optional[Dict[str, Union[Dict[str, "PathItem"], Reference]]] = None
        deprecated: Optional[bool] = None
        security: Optional[List[Dict[str, List[str]]]] = None
        servers: Optional[List[Server]] = None
    
    
    class PathItem(BaseModelWithConfig):
        ref: Optional[str] = Field(default=None, alias="$ref")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. docs/ja/docs/how-to/conditional-openapi.md

    もしセキュリティ上の欠陥がソースコードにあるならば、それは存在したままです。
    
    ドキュメンテーションを非表示にするのは、単にあなたのAPIへのアクセス方法を難解にするだけでなく、同時にあなた自身の本番環境でのAPIのデバッグを困難にしてしまう可能性があります。単純に、 <a href="https://en.wikipedia.org/wiki/Security_through_obscurity" class="external-link" target="_blank">Security through obscurity</a> の一つの形態として考えられるでしょう。
    
    もしあなたのAPIのセキュリティを強化したいなら、いくつかのよりよい方法があります。例を示すと、
    
    * リクエストボディとレスポンスのためのPydanticモデルの定義を見直す。
    * 依存関係に基づきすべての必要なパーミッションとロールを設定する。
    * パスワードを絶対に平文で保存しない。パスワードハッシュのみを保存する。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

    import java.net.HttpURLConnection.HTTP_UNAUTHORIZED
    import java.net.HttpURLConnection.HTTP_UNAVAILABLE
    import java.net.ProtocolException
    import java.net.Proxy
    import java.net.SocketTimeoutException
    import java.security.cert.CertificateException
    import javax.net.ssl.SSLHandshakeException
    import javax.net.ssl.SSLPeerUnverifiedException
    import okhttp3.Interceptor
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

    import com.github.ajalt.clikt.parameters.options.flag
    import com.github.ajalt.clikt.parameters.options.multiple
    import com.github.ajalt.clikt.parameters.options.option
    import com.github.ajalt.clikt.parameters.types.int
    import java.security.cert.X509Certificate
    import java.util.Properties
    import java.util.concurrent.TimeUnit.SECONDS
    import javax.net.ssl.HostnameVerifier
    import javax.net.ssl.SSLSocketFactory
    import javax.net.ssl.TrustManager
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.27.md

        - [Server Binaries](#server-binaries)
        - [Node Binaries](#node-binaries)
        - [Container Images](#container-images)
      - [Changelog since v1.27.15](#changelog-since-v12715)
      - [Important Security Information](#important-security-information)
        - [CVE-2024-5321: Incorrect permissions on Windows containers logs](#cve-2024-5321-incorrect-permissions-on-windows-containers-logs)
      - [Changes by Kind](#changes-by-kind)
        - [Feature](#feature)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Jul 17 07:48:22 UTC 2024
    - 466.3K bytes
    - Viewed (1)
Back to top