path: tests/fixtures/llhttp/request/on-header-value-complete.yml
name: On_header_value_complete
checked: true
source:
  path: test/request/pausing.md
  line: 214
meta:
  pause: on_header_value_complete
  type: request
input:
- POST / HTTP/1.1
- 'Content-Length: 3'
- ''
- abc
llhttp:
- off=0 message begin
- off=0 len=4 span[method]="POST"
- off=4 method complete
- off=5 len=1 span[url]="/"
- off=7 url complete
- off=7 len=4 span[protocol]="HTTP"
- off=11 protocol complete
- off=12 len=3 span[version]="1.1"
- off=15 version complete
- off=17 len=14 span[header_field]="Content-Length"
- off=32 header_field complete
- off=33 len=1 span[header_value]="3"
- off=36 header_value complete
- off=36 pause
- off=38 headers complete method=3 v=1/1 flags=20 content_length=3
- off=38 len=3 span[body]="abc"
- off=41 message complete
output:
- offset: 0
  type: request
  payload: null
- offset: 0
  type: begin
  payload: null
- offset: 0
  type: method
  payload: POST
- offset: 5
  type: url
  payload: /
- offset: 7
  type: protocol
  payload: HTTP
- offset: 12
  type: version
  payload: '1.1'
- offset: 17
  type: header_name
  payload: Content-Length
- offset: 33
  type: header_value
  payload: '3'
- offset: 38
  type: headers
  payload:
    method: POST
    status: null
    url: /
    protocol: HTTP
    version: '1.1'
    body: 3
- offset: 38
  type: data
  payload: abc
- offset: 41
  type: body
  payload: null
- offset: 41
  type: complete
  payload: null
