Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for raised (0.2 sec)

  1. android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt

     */
    @Tag("Remote")
    class LetsEncryptClientTest {
      @Test fun get() {
        // These tests wont actually run before Android 8.0 as per
        // https://github.com/mannodermaus/android-junit5
        // Raised https://github.com/mannodermaus/android-junit5/issues/228 to reevaluate
        val androidMorEarlier = Build.VERSION.SDK_INT <= 23
    
        val clientBuilder = OkHttpClient.Builder()
    
        if (androidMorEarlier) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.4K bytes
    - Viewed (1)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

        } catch (e: NoSuchElementException) {
          throw IllegalArgumentException("failed to decode certificate", e)
        } catch (e: IllegalArgumentException) {
          throw IllegalArgumentException("failed to decode certificate", e)
        } catch (e: GeneralSecurityException) {
          throw IllegalArgumentException("failed to decode certificate", e)
        }
      }
    }
    
    internal data class TbsCertificate(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt

        }
      }
    }
    
    object LoggingCallback : FutureCallback<SimpleHttpResponse> {
      override fun completed(response: SimpleHttpResponse) {
      }
    
      override fun failed(ex: Exception) {
        println("Failed: $ex")
      }
    
      override fun cancelled() {
        println("Cancelled")
      }
    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)
  4. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

        }
        val multimap = mapOf("Set-Cookie" to cookieStrings)
        try {
          cookieHandler.put(url.toUri(), multimap)
        } catch (e: IOException) {
          Platform.get().log("Saving cookies failed for " + url.resolve("/...")!!, WARN, e)
        }
      }
    
      override fun loadForRequest(url: HttpUrl): List<Cookie> {
        val cookieHeaders =
          try {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:10:43 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Authenticator.kt

     * and the implementation should respond with a new request that sets the "Authorization" header.
     *
     * ```java
     * if (response.request().header("Authorization") != null) {
     *   return null; // Give up, we've already failed to authenticate.
     * }
     *
     * String credential = Credentials.basic(...)
     * return response.request().newBuilder()
     *     .header("Authorization", credential)
     *     .build();
     * ```
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http/RealResponseBody.kt

    import okhttp3.ResponseBody
    import okio.BufferedSource
    
    class RealResponseBody(
      /**
       * Use a string to avoid parsing the content type until needed. This also defers problems caused
       * by malformed content types.
       */
      private val contentTypeString: String?,
      private val contentLength: Long,
      private val source: BufferedSource,
    ) : ResponseBody() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_4x.md

        of unacknowledged data per stream and no per-connection limit.
    
     *  Fix: Don't operate on a connection after it's been returned to the pool. This race occurred
        on failed web socket connection attempts.
    
     *  Upgrade: [Okio 3.6.0][okio_3_6_0].
    
     *  Upgrade: [Kotlin 1.8.21][kotlin_1_8_21].
    
    
    ## Version 4.11.0
    
    _2023-04-22_
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  8. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        }.also { expected ->
          assertThat(expected).hasMessage("Failed to parse UTCTime 191216#30210Z")
        }
      }
    
      @Test fun `cannot decode generalized time with offset`() {
        assertFailsWith<ProtocolException> {
          Adapters.GENERALIZED_TIME.fromDer("181332303139313231353139303231302d30383030".decodeHex())
        }.also { expected ->
          assertThat(expected).hasMessage("Failed to parse GeneralizedTime 20191215190210-0800")
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 31.7K bytes
    - Viewed (0)
  9. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

            |
            """.trimMargin(),
          )
          fail<Any>()
        } catch (expected: IllegalArgumentException) {
          if (!platform.isConscrypt()) {
            assertThat(expected.message).isEqualTo("failed to decode certificate")
          }
        }
        try {
          decode(
            """
            |-----BEGIN CERTIFICATE-----
            |MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVl
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  10. fuzzing/fuzzingserver-expected.txt

    "7.1.2 OK"
    "7.1.3 OK"
    "7.1.4 OK"
    "7.1.5 OK"
    "7.1.6 INFORMATIONAL"
    "7.13.1 INFORMATIONAL"
    "7.13.2 INFORMATIONAL"
    "7.3.1 OK"
    "7.3.2 OK"
    "7.3.3 OK"
    "7.3.4 OK"
    "7.3.5 OK"
    "7.3.6 OK"
    "7.5.1 FAILED"
    "7.7.1 OK"
    "7.7.10 OK"
    "7.7.11 OK"
    "7.7.12 OK"
    "7.7.13 OK"
    "7.7.2 OK"
    "7.7.3 OK"
    "7.7.4 OK"
    "7.7.5 OK"
    "7.7.6 OK"
    "7.7.7 OK"
    "7.7.8 OK"
    "7.7.9 OK"
    "7.9.1 OK"
    "7.9.10 OK"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Mar 26 02:01:32 GMT 2019
    - 6.7K bytes
    - Viewed (0)
Back to top