Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for end (8.05 sec)

  1. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

              logger.log("--> END ${request.method}")
            } else if (bodyHasUnknownEncoding(request.headers)) {
              logger.log("--> END ${request.method} (encoded body omitted)")
            } else if (requestBody.isDuplex()) {
              logger.log("--> END ${request.method} (duplex request body omitted)")
            } else if (requestBody.isOneShot()) {
              logger.log("--> END ${request.method} (one-shot body omitted)")
    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)
  2. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

            var truncated: Boolean
            var end: Long
            if (outFramesIterator.hasNext()) {
              nextOutFrame = outFramesIterator.next()
              end = nextOutFrame.start
              truncated = false
            } else {
              end = outBytes.size.toLong()
              truncated = nextOutFrame.truncated
            }
    
            // Write a frame.
            val length = (end - start).toInt()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

              if (rule.startsWith(EXCEPTION_RULE_MARKER)) {
                rule = rule.substring(1)
                // We use '\n' for end of value.
                totalExceptionRuleBytes += rule.size + 1
                sortedExceptionRules.add(rule)
              } else {
                totalRuleBytes += rule.size + 1 // We use '\n' for end of value.
                sortedRules.add(rule)
              }
            }
          }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_4x.md

            |AiAyHHg1N6YDDQiY920+cnI5XSZwEGhAtb9PYWO8bLmkcQIhAI2CfEZf3V/obmdT
            |yyaoEufLKVXhrTQhRfodTeigi4RX
            |-----END CERTIFICATE-----
            |-----BEGIN PRIVATE KEY-----
            |MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCA7ODT0xhGSNn4ESj6J
            |lu/GJQZoU9lDrCPeUcQ28tzOWw==
            |-----END PRIVATE KEY-----
            """.trimMargin())
        val handshakeCertificates = HandshakeCertificates.Builder()
    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)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

        private set
      private var timeoutEarlyExit = false
    
      /**
       * This is the same value as [exchange], but scoped to the execution of the network interceptors.
       * The [exchange] field is assigned to null when its streams end, which may be before or after the
       * network interceptors return.
       */
      internal var interceptorScopedExchange: Exchange? = null
        private set
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

          }
    
          override fun cancel() {
            exchange.cancel()
          }
        }
      }
    
      override fun route(): Route = route
    
      override fun cancel() {
        // Close the raw socket so we don't end up doing synchronous I/O.
        rawSocket?.closeQuietly()
      }
    
      override fun socket(): Socket = socket!!
    
      /** Returns true if this connection is ready to host new streams. */
    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)
  7. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          .assertLogEqual("--> END GET")
          .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms\)"""))
          .assertLogEqual("Content-Type: text/event-stream")
          .assertLogMatch(Regex("""Transfer-encoding: chunked"""))
          .assertLogEqual("<-- END HTTP (streaming)")
          .assertNoMoreLogs()
        applicationLogs
          .assertLogEqual("--> GET $url")
          .assertLogEqual("--> END GET")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 37.6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

    import okhttp3.internal.format
    import okhttp3.internal.http2.Http2.CONNECTION_PREFACE
    import okhttp3.internal.http2.Http2.FLAG_ACK
    import okhttp3.internal.http2.Http2.FLAG_END_HEADERS
    import okhttp3.internal.http2.Http2.FLAG_END_STREAM
    import okhttp3.internal.http2.Http2.FLAG_NONE
    import okhttp3.internal.http2.Http2.INITIAL_MAX_FRAME_SIZE
    import okhttp3.internal.http2.Http2.TYPE_CONTINUATION
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

          return false // Wildcard pattern for single-label domain name -- not permitted.
        }
    
        // Hostname must end with the region of pattern following the asterisk.
        val suffix = pattern.substring(1)
        if (!hostname.endsWith(suffix)) {
          return false // Hostname does not end with the suffix.
        }
    
        // Check that asterisk did not match across domain name labels.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

              result.addLenient(fieldName, networkHeaders.value(index))
            }
          }
    
          return result.build()
        }
    
        /**
         * Returns true if [fieldName] is an end-to-end HTTP header, as defined by RFC 2616,
         * 13.5.1.
         */
        private fun isEndToEnd(fieldName: String): Boolean {
          return !"Connection".equals(fieldName, ignoreCase = true) &&
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 10.2K bytes
    - Viewed (0)
Back to top