Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for given (0.14 sec)

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

        assertThat(parse("http://@host/path"))
          .isEqualTo(parse("http://host/path"))
        assertThat(parse("http://user@host/path"))
          .isEqualTo(parse("http://user@host/path"))
      }
    
      /**
       * Given multiple '@' characters, the last one is the delimiter.
       */
      @Test
      fun authorityWithMultipleAtSigns() {
        val httpUrl = parse("http://foo@bar@baz/path")
        assertThat(httpUrl.username).isEqualTo("foo@bar")
    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. docs/changelogs/changelog_3x.md

     *  New: Support `Expect: 100-continue` as a request header. Callers can use this header to
        pessimistically hold off on transmitting a request body until a server gives the go-ahead.
     *  New: Permit network interceptors to rewrite the host header for HTTP/2. This makes it possible
        to do domain fronting.
     *  New: charset support for `Credentials.basic()`.
    
    
    ## Version 3.5.0
    
    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)
  3. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        // Ping every 500 ms, starting at 500 ms.
        client =
          client.newBuilder()
            .pingInterval(Duration.ofMillis(500))
            .build()
    
        // Delay the response to give 1 ping enough time to be sent and replied to.
        server.enqueue(
          MockResponse.Builder()
            .bodyDelay(750, TimeUnit.MILLISECONDS)
            .body("ABC")
            .build(),
        )
    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)
  4. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(peer.takeFrame().type).isEqualTo(Http2.TYPE_RST_STREAM)
      }
    
      @Test fun writeTimesOutAwaitingConnectionWindow() {
        // Set the peer's receive window to 5 bytes. Give the stream 5 bytes back, so only the
        // connection-level window is applicable.
        val peerSettings = Settings().set(Settings.INITIAL_WINDOW_SIZE, 5)
    
        // Write the mocking script.
    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)
Back to top