Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 48 of 48 for WHERE (0.17 sec)

  1. okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt

      }
    
      /**
       * Regression test for an edge case where closing response body in the HTTP engine doesn't release
       * the corresponding stream allocation. This test keeps those response bodies alive and reads
       * them after the redirect has completed. This forces a connection to not be reused where it would
       * be otherwise.
       *
       *
       * This test leaks a response body by not closing it.
    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)
  2. okhttp/src/main/kotlin/okhttp3/internal/http/ExchangeCodec.kt

    import okio.Source
    
    /** Encodes HTTP requests and decodes HTTP responses. */
    interface ExchangeCodec {
      /** The connection or CONNECT tunnel that owns this codec. */
      val carrier: Carrier
    
      /** Returns an output stream where the request body can be streamed. */
      @Throws(IOException::class)
      fun createRequestBody(
        request: Request,
        contentLength: Long,
      ): Sink
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

        val message = "f248cdc9c957c8cc4bcb492cc9cccf530400".decodeHex()
        assertThat(inflater.inflate(message)).isEqualTo("Hello inflation!".encodeUtf8())
      }
    
      /**
       * We had a bug where self-finishing inflater streams would infinite loop!
       * https://github.com/square/okhttp/issues/8078
       */
      @Test fun `inflate returns finished before bytesRead reaches input length`() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 06 05:31:00 GMT 2024
    - 5K bytes
    - Viewed (0)
  4. LICENSE.txt

          worldwide, non-exclusive, no-charge, royalty-free, irrevocable
          (except as stated in this section) patent license to make, have made,
          use, offer to sell, sell, import, and otherwise transfer the Work,
          where such license applies only to those patent claims licensable
          by such Contributor that are necessarily infringed by their
          Contribution(s) alone or by combination of their Contribution(s)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jul 23 14:02:28 GMT 2012
    - 11.1K bytes
    - Viewed (0)
  5. docs/changelogs/upgrading_to_okhttp_4.md

      `Headers.of(String...)` with `headersOf(vararg String)`.
    
    #### Extension Functions
    
    We’ve migrated from static functions to extension functions where we think they fit.
    
    | Java                                | Kotlin                          |
    | :---------------------------------- | :------------------------------ |
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Viewed (0)
  6. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        assertThat(in2.read()).isEqualTo(-1)
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
      }
    
      @Disabled("Not actually failing where expected")
      @Test
      fun disconnectAtStart() {
        server.enqueue(
          MockResponse.Builder()
            .socketPolicy(DisconnectAtStart)
            .build(),
        )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

          @JvmField var headerTableSizeSetting: Int = SETTINGS_HEADER_TABLE_SIZE,
          private val useCompression: Boolean = true,
          private val out: Buffer,
        ) {
          /**
           * In the scenario where the dynamic table size changes multiple times between transmission of
           * header blocks, we need to keep track of the smallest value in that interval.
           */
    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 (1)
  8. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    // haphazard; in some states these domains resolve as addresses, while in others
    // only subdomains are available, or even nothing at all. We include the
    // most common ones where it's clear that different sites are different
    // entities.
    k12.ak.us
    k12.al.us
    k12.ar.us
    k12.as.us
    k12.az.us
    k12.ca.us
    k12.co.us
    k12.ct.us
    k12.dc.us
    k12.de.us
    k12.fl.us
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
Back to top