Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for link (0.14 sec)

  1. docs/changelogs/changelog_4x.md

     *  Fix: Don't crash when the URL hostname contains an underscore on Android.
     *  Fix: Change HTTP/2 to use a daemon thread for its socket reader. If you've ever seen a command
        line application hang after all of the work is done, it may be due to a non-daemon thread like
        this one.
     *  New: Include suppressed exceptions when all routes to a target service fail.
    
    
    ## Version 4.4.1
    
    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)
  2. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

            for (pin in pins) {
              append("\n    ")
              append(pin)
            }
          }
        throw SSLPeerUnverifiedException(message)
      }
    
      @Deprecated(
        "replaced with {@link #check(String, List)}.",
        ReplaceWith("check(hostname, peerCertificates.toList())"),
      )
      @Throws(SSLPeerUnverifiedException::class)
      fun check(
        hostname: String,
        vararg peerCertificates: Certificate,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.2K bytes
    - Viewed (1)
  3. gradle/wrapper/gradle-wrapper.jar

    which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof,...
    Archive
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 42.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Cache.kt

        fun writeTo(editor: DiskLruCache.Editor) {
          editor.newSink(ENTRY_METADATA).buffer().use { sink ->
            sink.writeUtf8(url.toString()).writeByte('\n'.code)
            sink.writeUtf8(requestMethod).writeByte('\n'.code)
            sink.writeDecimalLong(varyHeaders.size.toLong()).writeByte('\n'.code)
            for (i in 0 until varyHeaders.size) {
              sink.writeUtf8(varyHeaders.name(i))
                .writeUtf8(": ")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

       */
      private inner class ChunkedSink : Sink {
        private val timeout = ForwardingTimeout(sink.timeout())
        private var closed: Boolean = false
    
        override fun timeout(): Timeout = timeout
    
        override fun write(
          source: Buffer,
          byteCount: Long,
        ) {
          check(!closed) { "closed" }
          if (byteCount == 0L) return
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Headers.kt

        /**
         * Add a header line without any validation. Only appropriate for headers from the remote peer
         * or cache.
         */
        internal fun addLenient(line: String) =
          apply {
            val index = line.indexOf(':', 1)
            when {
              index != -1 -> {
                addLenient(line.substring(0, index), line.substring(index + 1))
              }
              line[0] == ':' -> {
    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)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

          val source = this.source!!
          val sink = this.sink!!
          val tunnelCodec =
            Http1ExchangeCodec(
              // No client for CONNECT tunnels:
              client = null,
              carrier = this,
              source = source,
              sink = sink,
            )
          source.timeout().timeout(readTimeoutMillis.toLong(), TimeUnit.MILLISECONDS)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  8. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          object : RequestBody() {
            override fun contentType(): MediaType? {
              return null
            }
    
            override fun writeTo(sink: BufferedSink) {
              sink.writeUtf8("Hello request!")
              sink.close()
            }
    
            override fun isDuplex(): Boolean {
              return true
            }
          }
        val request =
          request()
    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)
  9. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

    import okhttp3.internal.http2.Settings
    import okio.Buffer
    
    /** A scripted response to be replayed by the mock web server. */
    @ExperimentalOkHttpApi
    class MockResponse {
      /** Returns the HTTP response line, such as "HTTP/1.1 200 OK". */
      val status: String
    
      val code: Int
        get() {
          val statusParts = status.split(' ', limit = 3)
          require(statusParts.size >= 2) { "Unexpected status: $status" }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 13.3K bytes
    - Viewed (1)
  10. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

          encodings[ 0xb] = encoding // Vertical Tab
          encodings[ 0xe] = encoding // Shift Out
          encodings[ 0xf] = encoding // Shift In
          encodings[ 0x10] = encoding // Data Link Escape
          encodings[ 0x11] = encoding // Device Control 1 (oft. XON)
          encodings[ 0x12] = encoding // Device Control 2
          encodings[ 0x13] = encoding // Device Control 3 (oft. XOFF)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 12.3K bytes
    - Viewed (0)
Back to top