path: tests/fixtures/llhttp/response/on-chunk-extension-value.yml
name: On_chunk_extension_value
checked: true
source:
  path: test/response/pausing.md
  line: 277
meta:
  pause: on_chunk_extension_value
  type: response
input:
- HTTP/1.1 200 OK
- 'Transfer-Encoding: chunked'
- ''
- a;foo=bar
- '0123456789'
- '0'
- ''
- ''
llhttp:
- off=0 message begin
- off=0 len=4 span[protocol]="HTTP"
- off=4 protocol complete
- off=5 len=3 span[version]="1.1"
- off=8 version complete
- off=13 len=2 span[status]="OK"
- off=17 status complete
- off=17 len=17 span[header_field]="Transfer-Encoding"
- off=35 header_field complete
- off=36 len=7 span[header_value]="chunked"
- off=45 header_value complete
- off=47 headers complete status=200 v=1/1 flags=208 content_length=0
- off=49 len=3 span[chunk_extension_name]="foo"
- off=53 chunk_extension_name complete
- off=53 len=3 span[chunk_extension_value]="bar"
- off=57 chunk_extension_value complete
- off=57 pause
- off=58 chunk header len=10
- off=58 len=10 span[body]="0123456789"
- off=70 chunk complete
- off=73 chunk header len=0
- off=75 chunk complete
- off=75 message complete
output:
- offset: 0
  type: response
  payload: null
- offset: 0
  type: begin
  payload: null
- offset: 0
  type: protocol
  payload: HTTP
- offset: 5
  type: version
  payload: '1.1'
- offset: 9
  type: status
  payload: '200'
- offset: 13
  type: reason
  payload: OK
- offset: 17
  type: header_name
  payload: Transfer-Encoding
- offset: 36
  type: header_value
  payload: chunked
- offset: 47
  type: headers
  payload:
    method: null
    status: 200
    url: null
    protocol: HTTP
    version: '1.1'
    body: chunked
- offset: 47
  type: chunk_length
  payload: a
- offset: 49
  type: chunk_extension_name
  payload: foo
- offset: 53
  type: chunk_extension_value
  payload: bar
- offset: 58
  type: chunk
  payload: '0123456789'
- offset: 58
  type: data
  payload: '0123456789'
- offset: 70
  type: chunk_length
  payload: '0'
- offset: 73
  type: chunk
  payload: null
- offset: 73
  type: body
  payload: null
- offset: 75
  type: trailers
  payload: null
- offset: 75
  type: complete
  payload: null
