path: tests/fixtures/llhttp/request/source-request-with-ice.yml
name: SOURCE Request With ICE
checked: true
source:
  path: test/request/method.md
  line: 372
meta:
  type: request
input:
- SOURCE /music/sweet/music ICE/1.0
- 'Host: example.com'
- ''
- ''
llhttp:
- off=0 message begin
- off=0 len=6 span[method]="SOURCE"
- off=6 method complete
- off=7 len=18 span[url]="/music/sweet/music"
- off=26 url complete
- off=26 len=3 span[protocol]="ICE"
- off=29 protocol complete
- off=30 len=3 span[version]="1.0"
- off=33 version complete
- off=35 len=4 span[header_field]="Host"
- off=40 header_field complete
- off=41 len=11 span[header_value]="example.com"
- off=54 header_value complete
- off=56 headers complete method=33 v=1/0 flags=0 content_length=0
- off=56 message complete
output:
- offset: 0
  type: request
  payload: null
- offset: 0
  type: begin
  payload: null
- offset: 0
  type: error
  payload:
    code: UNEXPECTED_CHARACTER
    description: Invalid protocol name
