Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for We (0.13 sec)

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

        assertThat(url.queryParameter("a")).isEqualTo("!$(),/:;?@[]\\^`{|}~")
      }
    
      /**
       * When callers use `addEncodedQueryParameter()` we only encode what's strictly required. We
       * retain the encoded (or non-encoded) state of the input.
       */
      @Test
      fun queryCharactersNotReencodedWhenComposedWithAddEncoded() {
        val url =
          HttpUrl.Builder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(stream.writeBytesTotal).isEqualTo(0L)
        assertThat(stream.writeBytesMaximum).isEqualTo(3368L)
      }
    
      @Test fun peerHttp2ServerZerosCompressionTable() {
        val client = false // Peer is server, so we are client.
        val settings = Settings()
        settings[Settings.HEADER_TABLE_SIZE] = 0
        val connection = connectWithSettings(client, settings)
    
        // Verify the peer's settings were read and applied.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_3x.md

        could use new flow control capacity before acknowledging it, causing strict HTTP/2 servers to
        fail the call.
    
     *  Fix: Recover gracefully when a coalesced connection immediately goes unhealthy.
    
    ## Version 3.14.2
    
    _2019-05-19_
    
     *  Fix: Lock in a route when recovering from an HTTP/2 connection error. We had a bug where two
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        assertThat(server.takeRequest().sequenceNumber).isEqualTo(1)
      }
    
      /**
       * Test to ensure we don't  throw a read timeout on responses that are progressing.  For this
       * case, we take a 4KiB body and throttle it to 1KiB/second.  We set the read timeout to two
       * seconds.  If our implementation is acting correctly, it will not throw, as it is progressing.
       */
      @ParameterizedTest
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        creator.setString(0, "AB")
        creator.setString(1, "C")
        creator.abort()
        cache.close()
        assertJournalEquals("DIRTY k1", "REMOVE k1")
      }
    
      /** On Windows we have to wait until the edit is committed before we can delete its files. */
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
      fun `unterminated edit is reverted on cache close`(parameters: Pair<FileSystem, Boolean>) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * query the fragment is not sent to the webserver: it's private to the client.
     *
     * ## Encoding
     *
     * Each component must be encoded before it is embedded in the complete URL. As we saw above, the
     * string `cute #puppies` is encoded as `cute%20%23puppies` when used as a query parameter value.
     *
     * ### Percent encoding
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  7. okhttp/src/test/java/okhttp3/EventListenerTest.kt

       * This inserts a bunch of synthetic 250 ms delays into both client and server and confirms that
       * the same delays make it back into the events.
       *
       * We've had bugs where we report an event when we request data rather than when the data actually
       * arrives. https://github.com/square/okhttp/issues/5578
       */
      private fun timeToFirstByte() {
        val applicationInterceptorDelay = 250L
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

          apply {
            // Create a private copy of the list.
            val protocolsCopy = protocols.toMutableList()
    
            // Validate that the list has everything we require and nothing we forbid.
            require(Protocol.H2_PRIOR_KNOWLEDGE in protocolsCopy || HTTP_1_1 in protocolsCopy) {
              "protocols must contain h2_prior_knowledge or http/1.1: $protocolsCopy"
            }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
Back to top