Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for cn (0.16 sec)

  1. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

        checkPublicSuffix("www.test.k12.ak.us", "test.k12.ak.us")
        // IDN labels.
        checkPublicSuffix("食狮.com.cn", "食狮.com.cn")
        checkPublicSuffix("食狮.公司.cn", "食狮.公司.cn")
        checkPublicSuffix("www.食狮.公司.cn", "食狮.公司.cn")
        checkPublicSuffix("shishi.公司.cn", "shishi.公司.cn")
        checkPublicSuffix("公司.cn", null)
        checkPublicSuffix("食狮.中国", "食狮.中国")
        checkPublicSuffix("www.食狮.中国", "食狮.中国")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  2. docs/sts/tls.md

            Serial Number:
                35:ac:60:46:ad:8d:de:18:dc:0b:f6:98:14:ee:89:e8
            Signature Algorithm: ED25519
            Issuer: CN = consoleAdmin
            Validity
                Not Before: Jul 19 15:08:44 2021 GMT
                Not After : Aug 18 15:08:44 2021 GMT
            Subject: CN = consoleAdmin
            Subject Public Key Info:
                Public Key Algorithm: ED25519
                    ED25519 Public-Key:
                    pub:
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 6K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/request-files.md

        * 存储在内存的文件超出最大上限时,FastAPI 会把文件存入磁盘;
    * 这种方式更适于处理图像、视频、二进制文件等大型文件,好处是不会占用所有内存;
    * 可获取上传文件的元数据;
    * 自带 <a href="https://docs.python.org/zh-cn/3/glossary.html#term-file-like-object" class="external-link" target="_blank">file-like</a> `async` 接口;
    * 暴露的 Python <a href="https://docs.python.org/zh-cn/3/library/tempfile.html#tempfile.SpooledTemporaryFile" class="external-link" target="_blank">`SpooledTemporaryFile`</a> 对象,可直接传递给其他预期「file-like」对象的库。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  4. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

      }
    
      @Test
      fun organizationalUnit() {
        val heldCertificate =
          HeldCertificate.Builder()
            .commonName("cash.app")
            .organizationalUnit("cash")
            .build()
        val certificate = heldCertificate.certificate
        assertThat(certificate.getSubjectX500Principal().name).isEqualTo(
          "CN=cash.app,OU=cash",
        )
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  5. internal/event/target/testdata/contrib/nats_tls_client_cert.conf

        ca_file:   "./testdata/contrib/certs/root_ca_cert.pem"
        verify_and_map: true
    }
    authorization {
        ADMIN = {
            publish = ">"
            subscribe = ">"
        }
        users = [
            {user: "CN=localhost,OU=Client,O=MinIO,C=CA", permissions: $ADMIN}
        ]
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 426 bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt

       * are parsed. Android fails to parse these, which means we fall back to the CN. The RI does parse
       * them, so the CN is unused.
       */
      @Test fun verifyNonAsciiSubjectAlt() {
        // Expecting actual:
        //  ["bar.com", "花子.co.jp"]
        // to contain exactly (and in same order):
        //  ["bar.com", "������.co.jp"]
        platform.assumeNotBouncyCastle()
    
        // CN=foo.com, subjectAlt=bar.com, subjectAlt=&#x82b1;&#x5b50;.co.jp
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 40.3K bytes
    - Viewed (0)
  7. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    co.cm
    com.cm
    gov.cm
    net.cm
    
    // cn : https://en.wikipedia.org/wiki/.cn
    // Submitted by registry <tanyaling@cnnic.cn>
    cn
    ac.cn
    com.cn
    edu.cn
    gov.cn
    net.cn
    org.cn
    mil.cn
    公司.cn
    网络.cn
    網絡.cn
    // cn geographic names
    ah.cn
    bj.cn
    cq.cn
    fj.cn
    gd.cn
    gs.cn
    gz.cn
    gx.cn
    ha.cn
    hb.cn
    he.cn
    hi.cn
    hl.cn
    hn.cn
    jl.cn
    js.cn
    jx.cn
    ln.cn
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
  8. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  9. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt

        val response = call.execute()
        assertThat(response.handshake!!.peerPrincipal)
          .isEqualTo(X500Principal("CN=Local Host"))
        assertThat(response.handshake!!.localPrincipal)
          .isEqualTo(X500Principal("CN=Jethro Willis"))
        assertThat(response.body.string()).isEqualTo("abc")
      }
    
      @Test
      fun clientAuthForNeeds() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 12.5K bytes
    - Viewed (0)
Back to top