path: tests/fixtures/llhttp/response/no-carriage-ret-lenient.yml
name: No Carriage Ret (lenient)
checked: true
source:
  path: test/response/sample.md
  line: 351
meta:
  type: response-lenient-optional-cr-before-lf
input:
- HTTP/1.1 200 OK\n\
- 'Content-Type: text/html; charset=utf-8\n\'
- 'Connection: close\n\'
- \n\
- these headers are from http://news.ycombinator.com/
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=16 status complete
- off=16 len=12 span[header_field]="Content-Type"
- off=29 header_field complete
- off=30 len=24 span[header_value]="text/html; charset=utf-8"
- off=55 header_value complete
- off=55 len=10 span[header_field]="Connection"
- off=66 header_field complete
- off=67 len=5 span[header_value]="close"
- off=73 header_value complete
- off=74 headers complete status=200 v=1/1 flags=2 content_length=0
- off=74 len=51 span[body]="these headers are from http://news.ycombinator.com/"
output:
- offset: 0
  type: response
  payload: null
- offset: 0
  type: begin
  payload: null
