path: tests/fixtures/llhttp/response/rtsp-response.yml
name: RTSP Response
checked: true
source:
  path: test/response/sample.md
  line: 40
meta:
  type: response
input:
- RTSP/1.1 200 OK
- ''
- ''
llhttp:
- off=0 message begin
- off=0 len=4 span[protocol]="RTSP"
- 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=19 headers complete status=200 v=1/1 flags=0 content_length=0
output:
- offset: 0
  type: response
  payload: null
- offset: 0
  type: begin
  payload: null
- offset: 0
  type: error
  payload:
    code: UNEXPECTED_CHARACTER
    description: Invalid protocol
