path: tests/fixtures/llhttp/response/invalid-space-after-start-line.yml
name: Invalid Space After Start Line
checked: true
source:
  path: test/response/invalid.md
  line: 149
meta:
  type: response
input:
- HTTP/1.1 200 OK
- ' Host: foo'
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=18 error code=30 reason="Unexpected space after start line"
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
