Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for Fontaine (0.26 sec)

  1. container-tests/src/test/java/okhttp3/containers/SocksProxyTest.kt

    import org.testcontainers.containers.Network
    import org.testcontainers.junit.jupiter.Container
    import org.testcontainers.junit.jupiter.Testcontainers
    import org.testcontainers.utility.DockerImageName
    
    @Testcontainers
    class SocksProxyTest {
      val network: Network = Network.newNetwork()
    
      @Container
      val mockServer: MockServerContainer =
        MockServerContainer(MOCKSERVER_IMAGE)
          .withNetwork(network)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

        }
    
      private fun String.toRule(): ByteString? {
        if (trim { it <= ' ' }.isEmpty() || startsWith("//")) return null
        if (contains(WILDCARD_CHAR)) {
          assertWildcardRule(this)
        }
        return encodeUtf8()
      }
    
      data class ImportResults(
        val sortedRules: SortedSet<ByteString>,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_4x.md

        The upcoming Android Studio runs in a JVM but has classes from Android and that confused OkHttp!
    
     *  Fix: Include the header `Accept: text/event-stream` for SSE calls. This header is not added if
        the request already contains an `Accept` header.
    
     *  Fix: Don't crash with a `NullPointerException` if a server sends a close while we're sending a
        ping. OkHttp had a race condition bug.
    
    
    ## Version 4.6.0
    
    _2020-04-28_
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

    import okio.ByteString.Companion.encodeUtf8
    
    /**
     * An [RFC 3492] punycode decoder for converting ASCII to Unicode domain name labels. This is
     * intended for use in Internationalized Domain Names (IDNs).
     *
     * This class contains a Kotlin implementation of the pseudocode specified by RFC 3492. It includes
     * direct translation of the pseudocode presented there.
     *
     * Partner this class with [UTS #46] to implement IDNA2008 [RFC 5890] like most browsers do.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

        return exchange?.hasFailure == true &&
          exchangeFinder!!.routePlanner.hasNext(exchange?.connection)
      }
    
      /**
       * Returns a string that describes this call. Doesn't include a full URL as that might contain
       * sensitive information.
       */
      private fun toLoggableString(): String {
        return (
          (if (isCanceled()) "canceled " else "") +
            (if (forWebSocket) "web socket" else "call") +
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  6. container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt

    import org.mockserver.socket.tls.KeyStoreFactory
    import org.testcontainers.containers.MockServerContainer
    import org.testcontainers.junit.jupiter.Container
    import org.testcontainers.junit.jupiter.Testcontainers
    
    @Testcontainers
    class BasicProxyTest {
      @Container
      val mockServer: MockServerContainer =
        MockServerContainer(MOCKSERVER_IMAGE)
          .withNetworkAliases("mockserver")
    
      @Test
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

        return getSubjectAltNames(certificate, ALT_DNS_NAME).any {
          verifyHostname(hostname, it)
        }
      }
    
      /**
       * This is like [toLowerCase] except that it does nothing if this contains any non-ASCII
       * characters. We want to avoid lower casing special chars like U+212A (Kelvin symbol) because
       * they can return ASCII characters that match real hostnames.
       */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Cache.kt

         * followed by those lines.
         *
         * HTTPS responses also contain SSL session information. This begins with a blank line, and then
         * a line containing the cipher suite. Next is the length of the peer certificate chain. These
         * certificates are base64-encoded and appear each on their own line. The next line contains the
         * length of the local certificate chain. These certificates are also base64-encoded and appear
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  9. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

          ),
        )
        dns = buildLocalhost(bootstrapClient, true)
        val result = dns.lookup("google.com")
        assertThat(result.size).isEqualTo(2)
        assertThat(result).contains(address("157.240.1.18"))
        assertThat(result).contains(address("2a03:2880:f029:11:face:b00c:0:2"))
        val request1 = server.takeRequest()
        assertThat(request1.method).isEqualTo("GET")
        val request2 = server.takeRequest()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 11K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CallTest.kt

        val bodies: MutableSet<String?> = LinkedHashSet()
        bodies.add(firstResponse.body)
        bodies.add(secondResponse.body)
        assertThat(bodies).contains("abc")
        assertThat(bodies).contains("def")
      }
    
      @Test
      fun get_Async() {
        server.enqueue(
          MockResponse(
            headers = headersOf("Content-Type", "text/plain"),
            body = "abc",
          ),
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
Back to top