Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for simplified (2.31 sec)

  1. regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt

    import org.apache.hc.client5.http.impl.async.HttpAsyncClients
    import org.apache.hc.core5.concurrent.FutureCallback
    import org.apache.hc.core5.http.ProtocolVersion
    import org.junit.Assert
    import org.junit.Test
    
    /**
     * Simplified from
     * https://hc.apache.org/httpcomponents-client-5.0.x/httpclient5/examples/AsyncClientTlsAlpn.java
     *
     * Mainly intended to verify behaviour of popular clients across Android versions, similar
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/idn/PunycodeTest.kt

      @Test fun rfc3492Samples() {
        // (A) Arabic (Egyptian)
        testEncodeDecode(
          unicode = "ليهمابتكلموشعربي؟",
          punycode = "xn--egbpdaj6bu4bxfgehfvwxn",
        )
    
        // (B) Chinese (simplified)
        testEncodeDecode(
          unicode = "他们为什么不说中文",
          punycode = "xn--ihqwcrb4cv8a8dqg056pqjye",
        )
    
        // (C) Chinese (traditional)
        testEncodeDecode(
          unicode = "他們爲什麽不說中文",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  3. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

    import okio.Buffer
    
    /** Index [table] for compactness as specified by `IdnaMappingTable`. */
    fun buildIdnaMappingTableData(table: SimpleIdnaMappingTable): IdnaMappingTableData {
      val simplified = mergeAdjacentRanges(table.mappings)
      val withoutSectionSpans = withoutSectionSpans(simplified)
      val sections = sections(withoutSectionSpans)
    
      val rangesBuffer = Buffer()
      val mappingsBuffer = StringBuilder()
      val sectionIndexBuffer = Buffer()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  4. okhttp-tls/README.md

    MockWebServer server = new MockWebServer();
    server.useHttps(serverCertificates.sslSocketFactory(), false);
    ```
    
    `HandshakeCertificates` also works for clients where its job is to define which root certificates
    to trust. In this simplified example we trust the server's self-signed certificate:
    
    ```java
    HandshakeCertificates clientCertificates = new HandshakeCertificates.Builder()
        .addTrustedCertificate(localhostCertificate.certificate())
        .build();
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 9.1K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/Headers.kt

     * the same line will be treated as a field with a single value by this class. It is the caller's
     * responsibility to detect and split on commas if their field permits multiple values. This
     * simplifies use of single-valued fields whose values routinely contain commas, such as cookies or
     * dates.
     *
     * This class trims whitespace from values. It never returns values with leading or trailing
     * whitespace.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  6. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    бг
    
    // xn--mgbcpq6gpa1a ("albahrain", Arabic) : BH
    البحرين
    
    // xn--90ais ("bel", Belarusian/Russian Cyrillic) : BY
    // Operated by .by registry
    бел
    
    // xn--fiqs8s ("Zhongguo/China", Chinese, Simplified) : CN
    // CNNIC
    // http://cnnic.cn/html/Dir/2005/10/11/3218.htm
    中国
    
    // xn--fiqz9s ("Zhongguo/China", Chinese, Traditional) : CN
    // CNNIC
    // http://cnnic.cn/html/Dir/2005/10/11/3218.htm
    中國
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
  7. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    2E9F          ; mapped                 ; 6BCD          # 3.0  CJK RADICAL MOTHER
    2EA0..2EF2    ; valid                  ;      ; NV8    # 3.0  CJK RADICAL CIVILIAN..CJK RADICAL J-SIMPLIFIED TURTLE
    2EF3          ; mapped                 ; 9F9F          # 3.0  CJK RADICAL C-SIMPLIFIED TURTLE
    2EF4..2EFF    ; disallowed                             # NA   <reserved-2EF4>..<reserved-2EFF>
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Feb 10 11:25:47 GMT 2024
    - 854.1K bytes
    - Viewed (2)
Back to top