path: tests/fixtures/llhttp/response/invalid-http-version-lenient.yml
name: Invalid HTTP Version (lenient)
checked: true
source:
  path: test/response/lenient-version.md
  line: 4
meta:
  type: response-lenient-version
input:
- HTTP/5.6 200 OK
- ''
- ''
llhttp:
- off=0 message begin
- off=0 len=4 span[protocol]="HTTP"
- off=4 protocol complete
- off=5 len=3 span[version]="5.6"
- off=8 version complete
- off=13 len=2 span[status]="OK"
- off=17 status complete
- off=19 headers complete status=200 v=5/6 flags=0 content_length=0
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
