Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for literalHeaders (0.07 sec)

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

        reader.nextFrame(requireSettings = false, BaseTestHandler()) // Should not callback.
      }
    
      @Test fun onlyOneLiteralHeadersFrame() {
        val sentHeaders = headerEntries("name", "value")
        val headerBytes = literalHeaders(sentHeaders)
        writeMedium(frame, headerBytes.size.toInt())
        frame.writeByte(Http2.TYPE_HEADERS)
        frame.writeByte(FLAG_END_HEADERS or FLAG_END_STREAM)
        frame.writeInt(expectedStreamId and 0x7fffffff)
    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