Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for Kappen (0.19 sec)

  1. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

        // 2.
        "disallowed_STD3_mapped ".encodeUtf8(),
        // 3.
        "disallowed_STD3_valid ".encodeUtf8(),
        // 4.
        "ignored ".encodeUtf8(),
        // 5.
        "mapped ".encodeUtf8(),
        // 6.
        "valid ".encodeUtf8(),
      )
    
    internal const val TYPE_DEVIATION = 0
    internal const val TYPE_DISALLOWED = 1
    internal const val TYPE_DISALLOWED_STD3_MAPPED = 2
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  2. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

          logger.log(
            buildString {
              append("<-- ${response.code}")
              if (response.message.isNotEmpty()) append(" ${response.message}")
              append(" ${redactUrl(response.request.url)} (${tookMs}ms")
              if (!logHeaders) append(", $bodySize body")
              append(")")
            },
          )
    
          if (logHeaders) {
            val headers = response.headers
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 11.2K bytes
    - Viewed (1)
  3. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

        StringBuilder response = new StringBuilder();
        response.append(String.format("<html><head><title>%s</title></head><body>", basePath));
        response.append(String.format("<h1>%s</h1>", basePath));
        for (String file : directory.list()) {
          response.append(String.format("<div class='file'><a href='%s'>%s</a></div>",
              basePath + file, file));
        }
        response.append("</body></html>");
    
        return new MockResponse()
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Jan 02 02:50:44 GMT 2019
    - 4.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

        }
      }
      return result.readUtf8()
    }
    
    /**
     * Returns the canonical address for [address]. If [address] is an IPv6 address that is mapped to an
     * IPv4 address, this returns the IPv4-mapped address. Otherwise, this returns [address].
     *
     * https://en.wikipedia.org/wiki/IPv6#IPv4-mapped_IPv6_addresses
     */
    internal fun canonicalizeInetAddress(address: ByteArray): ByteArray {
      return when {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

            upstreamBuffer.copyTo(sink, 0, bytesRead)
            sourcePos += bytesRead
    
            // Append the upstream bytes to the file.
            fileOperator!!.write(
              FILE_HEADER_SIZE + upstreamPos,
              upstreamBuffer.clone(),
              upstreamBytesRead,
            )
    
            synchronized(this@Relay) {
              // Append new upstream bytes into the buffer. Trim it to its max size.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  6. docs/features/events.md

    ### Events with Failures
    
    When an operation fails, a failure method is called. This is `connectFailed()` for failures while building a connection to the server, and `callFailed()` when the HTTP call fails permanently. When a failure happens it is possible that a `start` event won’t have a corresponding `end` event.
    
    ![Events Diagram](../assets/images/******@****.***)
    
    ### Events with Retries and Follow-Ups
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 7.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

      }
    
      /**
       * Returns true if this connection's route has the same address as any of [candidates]. This
       * requires us to have a DNS address for both hosts, which only happens after route planning. We
       * can't coalesce connections that use a proxy, since proxies don't tell us the origin server's IP
       * address.
       */
      private fun routeMatchesAny(candidates: List<Route>): Boolean {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        assertContent("This connection won't pool properly", response1)
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
    
        // Give the server time to enact the socket policy if it's one that could happen after the
        // client has received the response.
        Thread.sleep(500)
        val response2 = getResponse(newRequest("/b"))
        response1.body.source().timeout().timeout(100, TimeUnit.MILLISECONDS)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

          buildString {
            if (noCache) append("no-cache, ")
            if (noStore) append("no-store, ")
            if (maxAgeSeconds != -1) append("max-age=").append(maxAgeSeconds).append(", ")
            if (sMaxAgeSeconds != -1) append("s-maxage=").append(sMaxAgeSeconds).append(", ")
            if (isPrivate) append("private, ")
            if (isPublic) append("public, ")
            if (mustRevalidate) append("must-revalidate, ")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/-RequestCommon.kt

    fun Request.commonToString(): String =
      buildString {
        append("Request{method=")
        append(method)
        append(", url=")
        append(url)
        if (headers.size != 0) {
          append(", headers=[")
          headers.forEachIndexed { index, (name, value) ->
            if (index > 0) {
              append(", ")
            }
            append(name)
            append(':')
            append(if (isSensitiveHeader(name)) "██" else value)
          }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top