Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for ends (0.13 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

              responseBuilder
            }
          }
        } catch (e: EOFException) {
          // Provide more context if the server ends the stream before sending a response.
          val address = carrier.route.address.url.redact()
          throw IOException("unexpected end of stream on $address", e)
        }
      }
    
      private fun newChunkedSink(): Sink {
        check(state == STATE_OPEN_REQUEST_BODY) { "state: $state" }
    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)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

         * AiAyHHg1N6YDDQiY920+cnI5XSZwEGhAtb9PYWO8bLmkcQIhAI2CfEZf3V/obmdT
         * yyaoEufLKVXhrTQhRfodTeigi4RX
         * -----END CERTIFICATE-----
         * -----BEGIN PRIVATE KEY-----
         * MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCA7ODT0xhGSNn4ESj6J
         * lu/GJQZoU9lDrCPeUcQ28tzOWw==
         * -----END PRIVATE KEY-----
         * ```
         *
         * The string should contain exactly one certificate and one private key in [PKCS #8][rfc_5208]
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  3. 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)
  4. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

          |yyaoEufLKVXhrTQhRfodTeigi4RX
          |-----END CERTIFICATE-----
          |
          """.trimMargin()
        val pkcs8Pem =
          """
          |-----BEGIN PRIVATE KEY-----
          |MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCA7ODT0xhGSNn4ESj6J
          |lu/GJQZoU9lDrCPeUcQ28tzOWw==
          |-----END PRIVATE KEY-----
          |
          """.trimMargin()
        val bcPkcs8Pem =
          """
    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)
  5. 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)
  6. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

        fileOperator.write(FILE_HEADER_SIZE + upstreamSize, metadataBuffer, metadata.size.toLong())
      }
    
      @Throws(IOException::class)
      fun commit(upstreamSize: Long) {
        // Write metadata to the end of the file.
        writeMetadata(upstreamSize)
        file!!.channel.force(false)
    
        // Once everything else is in place we can swap the dirty header for a clean one.
    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)
  7. 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)
  8. 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)
  9. okhttp/src/test/java/okhttp3/CookieTest.kt

        assertThat(cookie.matches("http://www.example.com".toHttpUrl())).isTrue()
        assertThat(cookie.matches("http://square.com".toHttpUrl())).isFalse()
      }
    
      /** Ignore the entire attribute if the domain ends with `.`.  */
      @Test fun domainIgnoredWithTrailingDot() {
        val cookie = parse(url, "a=b; domain=example.com.")
        assertThat(cookie!!.matches("http://example.com".toHttpUrl())).isTrue()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 24.3K bytes
    - Viewed (0)
  10. 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)
Back to top