Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for compressedDataFrameWhenSettingDisabled (0.16 sec)

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

          assertThat(expected.message).isEqualTo("PROTOCOL_ERROR: TYPE_DATA streamId == 0")
        }
      }
    
      /** We do not send SETTINGS_COMPRESS_DATA = 1, nor want to. Let's make sure we error.  */
      @Test fun compressedDataFrameWhenSettingDisabled() {
        val expectedData = ByteArray(Http2.INITIAL_MAX_FRAME_SIZE)
        Arrays.fill(expectedData, 2.toByte())
        val zipped = gzip(expectedData)
        val zippedSize = zipped.size.toInt()
    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