Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for aren (0.17 sec)

  1. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

      fun hostnameMappingLastDisallowedCodePoint() {
        assertInvalid("http://\uDBFF\uDFFF", "Invalid URL host: \"\uDBFF\uDFFF\"")
      }
    
      @Test
      fun hostnameUri() {
        // Host names are special:
        //
        //  * Several characters are forbidden and must throw exceptions if used.
        //  * They don't use percent escaping at all.
        //  * They use punycode for internationalization.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_3x.md

        commitment was originally through December 31, 2020; we have since extended it.)
    
     *  **TLSv1 and TLSv1.1 are no longer enabled by default.** Major web browsers are working towards
        removing these versions altogether in early 2020. If your servers aren't ready yet you can
        configure OkHttp 3.13 to allow TLSv1 and TLSv1.1 connections:
    
        ```
        OkHttpClient client = new OkHttpClient.Builder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

          assertThat(readFileOrNull(getCleanFile("k1", 0))).isEqualTo(afterRemoveFileContents)
          assertThat(readFileOrNull(getDirtyFile("k1", 0))).isNull()
    
          // On all platforms files are deleted when all sources are closed.
          snapshot1.assertValue(1, "a")
          assertThat(readFileOrNull(getCleanFile("k1", 0))).isNull()
          assertThat(readFileOrNull(getDirtyFile("k1", 0))).isNull()
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * supports `http` and `https`. Use [java.net.URI][URI] for URLs with arbitrary schemes.
     *
     * ### Username and Password
     *
     * Username and password are either present, or the empty string `""` if absent. This class offers
     * no mechanism to differentiate empty from absent. Neither of these components are popular in
     * practice. Typically HTTP applications use other mechanisms for user identification and
     * authentication.
     *
     * ### Host
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  5. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

      ) {
        setUp(protocol, mockWebServer)
        server.enqueue(
          MockResponse(
            code = HttpURLConnection.HTTP_UNAUTHORIZED,
            headers = headersOf("www-authenticate", "Basic realm=\"protected area\""),
            body = "Please authenticate.",
          ),
        )
        server.enqueue(
          MockResponse(body = "Successful auth!"),
        )
        val credential = basic("username", "password")
        client =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(stream.writeBytesTotal).isEqualTo(0L)
        assertThat(stream.writeBytesMaximum).isEqualTo(3368L)
      }
    
      @Test fun peerHttp2ServerZerosCompressionTable() {
        val client = false // Peer is server, so we are client.
        val settings = Settings()
        settings[Settings.HEADER_TABLE_SIZE] = 0
        val connection = connectWithSettings(client, settings)
    
        // Verify the peer's settings were read and applied.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
Back to top