path: tests/fixtures/llhttp/response/http-1-0-with-keep-alive-and-204-status.yml
name: HTTP/1.0 With Keep-alive And 204 Status
checked: true
source:
  path: test/response/connection.md
  line: 75
meta:
  type: response
input:
- HTTP/1.0 204 No content
- '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=10 span[status]="No content"
- off=25 status complete
- off=25 len=10 span[header_field]="Connection"
- off=36 header_field complete
- off=37 len=10 span[header_value]="keep-alive"
- off=49 header_value complete
- off=51 headers complete status=204 v=1/0 flags=1 content_length=0
- off=51 message complete
- off=51 reset
- off=51 message begin
- off=51 len=4 span[protocol]="HTTP"
- off=55 protocol complete
- off=56 len=3 span[version]="1.0"
- off=59 version complete
- off=64 len=2 span[status]="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
