Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Stuart (0.23 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        val socket = peer.openSocket()
        val connection =
          Http2Connection.Builder(true, TaskRunner.INSTANCE)
            .socket(socket)
            .pushObserver(IGNORE)
            .build()
        connection.start(sendConnectionPreface = false)
        socket.shutdownOutput()
        assertFailsWith<IOException> {
          connection.newStream(headerEntries("a", longString), false)
        }
        assertFailsWith<IOException> {
    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)
  2. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * characters that need to be encoded is different for each component. For example, the path
     * component must escape all of its `?` characters, otherwise it could be interpreted as the
     * start of the URL's query. But within the query and fragment components, the `?` character
     * doesn't delimit anything and doesn't need to be escaped.
     *
     * ```java
    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)
  3. docs/changelogs/changelog_3x.md

     *  Fix: Avoid sending empty HTTP/2 data frames when there is no request body.
     *  Fix: Add a leading `.` for better domain matching in `JavaNetCookieJar`.
     *  Fix: Gracefully recover from HTTP/2 connection shutdowns at start of request.
     *  Fix: Be lenient if a `MediaType`'s character set is `'single-quoted'`.
     *  Fix: Allow horizontal tab characters in header values.
    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/EventListenerTest.kt

        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("a")
        assertThat(listener.recordedEventTypes())
          .containsExactly("CallStart", "CallEnd")
      }
    
      /** Response headers start, then the entire request body, then response headers end.  */
      @Test
      fun expectContinueStartsResponseHeadersEarly() {
        server.enqueue(
          MockResponse.Builder()
            .add100Continue()
    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)
Back to top