Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for headerEntries (0.07 sec)

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

      @Test
      fun staticTableIndexedHeaders() {
        hpackWriter!!.writeHeaders(headerEntries(":method", "GET"))
        assertBytes(0x82)
        assertThat(hpackWriter!!.headerCount).isEqualTo(0)
        hpackWriter!!.writeHeaders(headerEntries(":method", "POST"))
        assertBytes(0x83)
        assertThat(hpackWriter!!.headerCount).isEqualTo(0)
        hpackWriter!!.writeHeaders(headerEntries(":path", "/"))
        assertBytes(0x84)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

    import assertk.assertions.isTrue
    import java.io.IOException
    import java.util.Arrays
    import java.util.concurrent.atomic.AtomicInteger
    import kotlin.math.pow
    import kotlin.test.assertFailsWith
    import okhttp3.TestUtil.headerEntries
    import okhttp3.internal.EMPTY_BYTE_ARRAY
    import okhttp3.internal.http2.Http2.FLAG_COMPRESSED
    import okhttp3.internal.http2.Http2.FLAG_END_HEADERS
    import okhttp3.internal.http2.Http2.FLAG_END_STREAM
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top