Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for Tiller (0.26 sec)

  1. okhttp/src/main/kotlin/okhttp3/Headers.kt

     * the HTTP message.
     *
     * This class tracks header values line-by-line. A field with multiple comma- separated values on
     * 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.
     *
    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)
  2. okhttp/src/test/java/okhttp3/CallHandshakeTest.kt

        val handshake = makeRequest(client)
    
        assertThat(handshake.cipherSuite).isIn(*expectedModernTls13CipherSuites.toTypedArray())
    
        // TODO: filter down to TLSv1.3 when only activated.
        // Probably something like
        // TLS_AES_128_GCM_SHA256
        // TLS_AES_256_GCM_SHA384
        // TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Response.kt

       * auth param in the challenge at key null. Invalid headers and challenges are ignored.
       * No semantic validation is done, for example that `Basic` auth must have a `realm`
       * auth param, this is up to the caller that interprets these challenges.
       */
      fun challenges(): List<Challenge> {
        return headers.parseChallenges(
          when (code) {
            HTTP_UNAUTHORIZED -> "WWW-Authenticate"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CallTest.kt

          .assertSentRequestAtMillis(request1SentAt, request1ReceivedAt)
          .assertReceivedResponseAtMillis(request1SentAt, request1ReceivedAt)
    
        // Check the network response. It has the caller's request, plus some caching headers.
        cacheHit.networkResponse()
          .assertCode(304)
          .assertHeader("Donut", "b")
          .assertRequestHeader("Accept-Language", "en-US")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/FastFallbackTest.kt

        // In the process we made one successful connection attempt.
        assertThat(listener.recordedEventTypes().filter { it == "ConnectStart" }).hasSize(2)
        assertThat(listener.recordedEventTypes().filter { it == "ConnectFailed" }).hasSize(1)
        assertThat(listener.recordedEventTypes().filter { it == "ConnectEnd" }).hasSize(1)
      }
    
      @Test
      fun reachesIpv6WhenIpv4IsDown() {
        serverIpv4.shutdown()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  6. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt

          },
      )
    }
    
    fun historicOkHttp(version: String): Client {
      val enabled =
        FileSystem.RESOURCES.read("okhttp_$version.txt".toPath()) {
          this.readUtf8().lines().filter { it.isNotBlank() }.map {
            SuiteId(id = null, name = it.trim())
          }
        }
      return Client(
        userAgent = "OkHttp",
        version = version,
        enabled = enabled,
      )
    }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 01:44:15 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt

          .build()
      }
    
      fun buildCleanBrowsing(bootstrapClient: OkHttpClient): DnsOverHttps {
        return DnsOverHttps.Builder()
          .client(bootstrapClient)
          .url("https://doh.cleanbrowsing.org/doh/family-filter/".toHttpUrl())
          .includeIPv6(false)
          .build()
      }
    
      private fun buildChantra(bootstrapClient: OkHttpClient): DnsOverHttps {
        return DnsOverHttps.Builder()
          .client(bootstrapClient)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 23 10:26:25 GMT 2023
    - 3.8K bytes
    - Viewed (3)
  8. okhttp/src/main/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

    import okhttp3.internal.connection.RealCall
    
    /**
     * A concrete interceptor chain that carries the entire interceptor chain: all application
     * interceptors, the OkHttp core, all network interceptors, and finally the network caller.
     *
     * If the chain is for an application interceptor then [exchange] must be null. Otherwise it is for
     * a network interceptor and [exchange] must be non-null.
     */
    class RealInterceptorChain(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Call.kt

       *
       * ```java
       * // ensure the response (and underlying response body) is closed
       * try (Response response = client.newCall(request).execute()) {
       *   ...
       * }
       * ```
       *
       * The caller may read the response body with the response's [Response.body] method. To avoid
       * leaking resources callers must [close the response body][ResponseBody] or the response.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  10. native-image-tests/src/main/kotlin/okhttp3/GenerateClassList.kt

    fun main() {
      val knownTestFile = File("native-image-tests/src/main/resources/testlist.txt")
      val testSelector = DiscoverySelectors.selectPackage("okhttp3")
      val testClasses =
        findTests(listOf(testSelector))
          .filter { it.isContainer }
          .mapNotNull { (it as? ClassBasedTestDescriptor)?.testClass?.name }
          .filterNot { it in avoidedTests }
          .sorted()
          .distinct()
      knownTestFile.writeText(testClasses.joinToString("\n"))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.9K bytes
    - Viewed (0)
Back to top