wire / wire-format / http3-frame

HTTP/3 frame

HTTP/3 (over QUIC) frames use a variable-length integer (QUIC varint) for both type and length, followed by a payload. Frame types: DATA (0x00), HEADERS (0x01), CANCEL_PUSH (0x03), SETTINGS (0x04), PUSH_PROMISE (0x05), GOAWAY (0x07), MAX_PUSH_ID (0x0D). Unlike HTTP/2, frames are not tied to streams by a frame header field; the QUIC stream itself provides the stream context.

wire-format kind wire-format status standard verification verified tier B wire-format@1

aka: HTTP/3 frame

wire format

spec: RFC 9114

HTTP/3 (over QUIC) frames use a variable-length integer (QUIC varint) for both type and length, followed by a payload. Frame types: DATA (0x00), HEADERS (0x01), CANCEL_PUSH (0x03), SETTINGS (0x04), PUSH_PROMISE (0x05), GOAWAY (0x07), MAX_PUSH_ID (0x0D). Unlike HTTP/2, frames are not tied to streams by a frame header field; the QUIC stream itself provides the stream context.

fieldsizemeaning
TypevarintFrame type (QUIC variable-length integer, 1-8 bytes).
LengthvarintPayload length in bytes (QUIC varint).
Payload= LengthFrame-specific data (HEADERS carries QPACK-encoded headers, DATA carries body, ...).

example:

00 05 48 65 6c 6c 6f

DATA frame (type 0), length 5, payload 'Hello'


provenance

agent: curl -H 'accept: application/json' wire.phall.io/wire-format/http3-frame or /wire-format/http3-frame.json