path: tests/fixtures/llhttp/response/http-1-0-with-keep-alive-and-eof-terminated-200-status.yml
name: HTTP/1.0 With Keep-alive And EOF-terminated 200 Status
checked: true
source:
  path: test/response/connection.md
  line: 46
meta:
  type: response
input:
- HTTP/1.0 200 OK
- 'Connection: keep-alive'
- ''
- HTTP/1.0 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.0"
- off=8 version complete
- off=13 len=2 span[status]="OK"
- off=17 status complete
- off=17 len=10 span[header_field]="Connection"
- off=28 header_field complete
- off=29 len=10 span[header_value]="keep-alive"
- off=41 header_value complete
- off=43 headers complete status=200 v=1/0 flags=1 content_length=0
- off=43 len=15 span[body]="HTTP/1.0 200 OK"
output:
- offset: 0
  type: response
  payload: null
- offset: 0
  type: begin
  payload: null
- offset: 0
  type: error
  payload:
    code: UNSUPPORTED_HTTP_VERSION
    description: Unsupported HTTP version
