path: tests/fixtures/llhttp/request/no-lf-after-cr.yml
name: No LF After CR
checked: true
source:
  path: test/request/sample.md
  line: 432
meta:
  type: request
input:
- 'GET / HTTP/1.1\rLine: 1'
- ''
llhttp:
- off=0 message begin
- off=0 len=3 span[method]="GET"
- off=3 method complete
- off=4 len=1 span[url]="/"
- off=6 url complete
- off=6 len=4 span[protocol]="HTTP"
- off=10 protocol complete
- off=11 len=3 span[version]="1.1"
- off=14 version complete
- off=15 error code=2 reason="Expected CRLF after version"
output:
- offset: 0
  type: request
  payload: null
- offset: 0
  type: begin
  payload: null
- offset: 0
  type: error
  payload:
    code: UNEXPECTED_CHARACTER
    description: Expected CRLF
