path: tests/fixtures/llhttp/response/http-1-1-with-eof-terminated-200-status.yml
name: HTTP/1.1 With EOF-terminated 200 Status
checked: true
source:
  path: test/response/connection.md
  line: 110
meta:
  type: response
input:
- HTTP/1.1 200 OK
- ''
- HTTP/1.1 200 OK
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=19 headers complete status=200 v=1/1 flags=0 content_length=0
- off=19 len=15 span[body]="HTTP/1.1 200 OK"
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: 19
  type: headers
  payload:
    method: null
    status: 200
    url: null
    protocol: HTTP
    version: '1.1'
    body: null
- offset: 19
  type: data
  payload: HTTP/1.1 200 OK
