Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 45 for Kappen (0.14 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

          val toVerify = result[result.size - 1] as X509Certificate
    
          // If this cert has been signed by a trusted cert, use that. Add the trusted certificate to
          // the end of the chain unless it's already present. (That would happen if the first
          // certificate in the chain is itself a self-signed and trusted CA certificate.)
          val trustedCert = trustRootIndex.findByIssuerAndSignature(toVerify)
          if (trustedCert != null) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  2. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/GenerateIdnaMappingTableCode.kt

        for (codePoint in ******@****.***ints()) {
          when (codePoint) {
            in 0..0x20,
            '"'.code,
            '$'.code,
            '\\'.code,
            '·'.code,
            127,
            -> append(String.format("\\u%04x", codePoint))
    
            else -> appendCodePoint(codePoint)
          }
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/HostnamesTest.kt

        assertThat("localhost".toCanonicalHost()).isEqualTo("localhost")
        assertThat("☃.net".toCanonicalHost()).isEqualTo("xn--n3h.net")
    
        // IPv4 Compatible or Mapped addresses
        assertThat("::192.168.0.1".toCanonicalHost()).isEqualTo("::c0a8:1")
        assertThat("::FFFF:192.168.0.1".toCanonicalHost()).isEqualTo("192.168.0.1")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 30 06:23:33 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         *
         * If the server does not respond to each ping with a pong within `interval`, this client will
         * assume that connectivity has been lost. When this happens on a web socket the connection is
         * canceled and its listener is [notified][WebSocketListener.onFailure]. When it happens on an
         * HTTP/2 connection the connection is closed and any calls it is carrying
         * [will fail with an IOException][java.io.IOException].
         *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  5. docs/features/interceptors.md

        return response;
      }
    }
    ```
    
    A call to `chain.proceed(request)` is a critical part of each interceptor’s implementation. This simple-looking method is where all the HTTP work happens, producing a response to satisfy the request. If `chain.proceed(request)` is being called more than once previous response bodies must be closed.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 8.1K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/EventListenerTest.kt

      }
    
      @Test
      fun responseBodyFailHttp() {
        responseBodyFail(Protocol.HTTP_1_1)
      }
    
      private fun responseBodyFail(expectedProtocol: Protocol?) {
        // Use a 2 MiB body so the disconnect won't happen until the client has read some data.
        val responseBodySize = 2 * 1024 * 1024 // 2 MiB
        server.enqueue(
          MockResponse.Builder()
            .body(Buffer().write(ByteArray(responseBodySize)))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  7. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

          Mapping(0x0233, 0x0239, TYPE_VALID, ByteString.EMPTY),
          Mapping(0x023a, 0x023a, TYPE_MAPPED, "b".encodeUtf8()),
        )
      }
    
      @Test fun simplifyDoesNotCombineWhenMappedTargetsAreDifferent() {
        assertThat(
          mergeAdjacentRanges(
            listOf(
              Mapping(0x0041, 0x0041, TYPE_MAPPED, "a".encodeUtf8()),
              Mapping(0x0042, 0x0042, TYPE_MAPPED, "b".encodeUtf8()),
            ),
          ),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     *    119 : Ignored.
     *    120 : Valid.
     *    121 : Disallowed
     *    122 : Mapped inline to the sequence: [b2].
     *    123 : Mapped inline to the sequence: [b2a].
     *    124 : Mapped inline to the sequence: [b2, b3].
     *    125 : Mapped inline to the sequence: [b2a, b3].
     *    126 : Mapped inline to the sequence: [b2, b3a].
     *    127 : Mapped inline to the sequence: [b2a, b3a].
     *
     * The range goes until the beginning of the next range.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt

      return buildString {
        append("-----BEGIN CERTIFICATE-----\n")
        encodeBase64Lines(encoded.toByteString())
        append("-----END CERTIFICATE-----\n")
      }
    }
    
    internal fun StringBuilder.encodeBase64Lines(data: ByteString) {
      val base64 = data.base64()
      for (i in 0 until base64.length step 64) {
        append(base64, i, minOf(i + 64, base64.length)).append('\n')
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (2)
  10. okhttp/src/test/java/okhttp3/UrlComponentEncodingTesterJvm.kt

      fun escapeForUri(vararg codePoints: Int) =
        apply {
          uriEscapedCodePoints.append(String(*codePoints))
        }
    
      /**
       * Configure code points to be stripped in conversion to `java.net.URI`. That class is more
       * strict than the others.
       */
      fun stripForUri(vararg codePoints: Int) =
        apply {
          uriStrippedCodePoints.append(String(*codePoints))
        }
    
      override fun test(
        codePoint: Int,
    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)
Back to top