Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 77 for cn (0.11 sec)

  1. docs/zh/docs/tutorial/body-updates.md

    # 请求体 - 更新数据
    
    ## 用 `PUT` 更新数据
    
    更新数据请用 <a href="https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Methods/PUT" class="external-link" target="_blank">HTTP `PUT`</a> 操作。
    
    把输入数据转换为以 JSON 格式存储的数据(比如,使用 NoSQL 数据库时),可以使用 `jsonable_encoder`。例如,把 `datetime` 转换为 `str`。
    
    ```Python hl_lines="30-35"
    {!../../../docs_src/body_updates/tutorial001.py!}
    ```
    
    `PUT` 用于接收替换现有数据的数据。
    
    ### 关于更新数据的警告
    
    用 `PUT` 把数据项 `bar` 更新为以下内容时:
    
    ```Python
    {
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/request-forms.md

    **FastAPI** 要确保从正确的位置读取数据,而不是读取 JSON。
    
    !!! note "技术细节"
    
        表单数据的「媒体类型」编码一般为 `application/x-www-form-urlencoded`。
    
        但包含文件的表单编码为 `multipart/form-data`。文件处理详见下节。
    
        编码和表单字段详见 <a href="https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Methods/POST" class="external-link" target="_blank"><abbr title="Mozilla Developer Network">MDN</abbr> Web 文档的 <code>POST</code></a>小节。
    
    !!! warning "警告"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    {!../../../docs_src/dependencies/tutorial010.py!}
    ```
    
    !!! tip
        另一种创建上下文管理器的方法是:
    
        * <a href="https://docs.python.org/zh-cn/3/library/contextlib.html#contextlib.contextmanager" class="external-link" target="_blank">`@contextlib.contextmanager`</a>或者
        * <a href="https://docs.python.org/zh-cn/3/library/contextlib.html#contextlib.asynccontextmanager" class="external-link" target="_blank">`@contextlib.asynccontextmanager`</a>
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

          }
    
        /**
         * Set this certificate's common name (CN). Historically this held the hostname of TLS
         * certificate, but that practice was deprecated by [RFC 2818][rfc_2818] and replaced with
         * [addSubjectAlternativeName]. If unset a random string will be used.
         *
         * [rfc_2818]: https://tools.ietf.org/html/rfc2818
         */
        fun commonName(cn: String) =
          apply {
            this.commonName = cn
          }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  5. src/main/resources/fess_indices/_aws/fess/doc.json

              "match": "*_vi",
              "mapping": {
                "type": "text",
                "analyzer": "empty_analyzer"
              }
            }
          },
          {
            "lang_zh-cn": {
              "match": "*_zh-cn",
              "mapping": {
                "type": "text",
                "analyzer": "simplified_chinese_analyzer"
              }
            }
          },
          {
            "lang_zh-tw": {
    Json
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Tue Aug 15 11:50:35 GMT 2023
    - 11.7K bytes
    - Viewed (0)
  6. src/main/resources/fess_indices/_cloud/fess/doc.json

              "match": "*_vi",
              "mapping": {
                "type": "text",
                "analyzer": "empty_analyzer"
              }
            }
          },
          {
            "lang_zh-cn": {
              "match": "*_zh-cn",
              "mapping": {
                "type": "text",
                "analyzer": "simplified_chinese_analyzer"
              }
            }
          },
          {
            "lang_zh-tw": {
    Json
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Tue Aug 15 11:50:35 GMT 2023
    - 11.7K bytes
    - Viewed (0)
  7. docs/tls/README.md

    ```sh
    [req]
    distinguished_name = req_distinguished_name
    x509_extensions = v3_req
    prompt = no
    
    [req_distinguished_name]
    C = US
    ST = VA
    L = Somewhere
    O = MyOrg
    OU = MyOU
    CN = MyServerName
    
    [v3_req]
    subjectAltName = @alt_names
    
    [alt_names]
    IP.1 = 127.0.0.1
    DNS.1 = localhost
    ```
    
    Run `openssl` by specifying the configuration file and enter a passphrase if prompted:
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  8. src/main/resources/fess_indices/fess/doc.json

              "match": "*_vi",
              "mapping": {
                "type": "text",
                "analyzer": "vietnamese_analyzer"
              }
            }
          },
          {
            "lang_zh-cn": {
              "match": "*_zh-cn",
              "mapping": {
                "type": "text",
                "analyzer": "simplified_chinese_analyzer"
              }
            }
          },
          {
            "lang_zh-tw": {
    Json
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Tue Aug 15 11:50:35 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CallKotlinTest.kt

        val request = Request.Builder().url(server.url("/")).build()
    
        val response = client.newCall(request).execute()
    
        response.use {
          assertEquals(200, response.code)
          assertEquals(
            "CN=localhost",
            (response.handshake!!.peerCertificates.single() as X509Certificate).subjectDN.name,
          )
        }
      }
    
      private fun enableTls() {
        client =
          client.newBuilder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  10. helm/minio/values.yaml

      exitCommand: ""
    
    ## List of command to run after minio install
    ## NOTE: the mc command TARGET is always "myminio"
    customCommands:
      # - command: "admin policy attach myminio consoleAdmin --group='cn=ops,cn=groups,dc=example,dc=com'"
    
    ## Additional Annotations for the Kubernetes Job customCommandJob
    customCommandJob:
      securityContext:
        enabled: false
        runAsUser: 1000
        runAsGroup: 1000
      resources:
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 18.4K bytes
    - Viewed (0)
Back to top