Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readLiteralHeaderFieldWithIndexing (0.46 sec)

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

        checkEntry(entry, ":path", "www.example.com", 52)
      }
    
      /**
       * http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12#appendix-C.2.1
       */
      @Test
      fun readLiteralHeaderFieldWithIndexing() {
        bytesIn.writeByte(0x40) // Literal indexed
        bytesIn.writeByte(0x0a) // Literal name (len = 10)
        bytesIn.writeUtf8("custom-key")
        bytesIn.writeByte(0x0d) // Literal value (len = 13)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 38.2K bytes
    - Viewed (0)
Back to top