path: tests/fixtures/llhttp/request/source-request.yml
name: SOURCE Request
checked: true
source:
path: test/request/method.md
line: 344
meta:
type: request
input:
- SOURCE /music/sweet/music HTTP/1.1
- '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=4 span[protocol]="HTTP"
- off=30 protocol complete
- off=31 len=3 span[version]="1.1"
- off=34 version complete
- off=36 len=4 span[header_field]="Host"
- off=41 header_field complete
- off=42 len=11 span[header_value]="example.com"
- off=55 header_value complete
- off=57 headers complete method=33 v=1/1 flags=0 content_length=0
- off=57 message complete
output:
- offset: 0
type: request
payload: null
- offset: 0
type: begin
payload: null
- offset: 0
type: method
payload: SOURCE
- offset: 7
type: url
payload: /music/sweet/music
- offset: 26
type: protocol
payload: HTTP
- offset: 31
type: version
payload: '1.1'
- offset: 36
type: header_name
payload: Host
- offset: 42
type: header_value
payload: example.com
- offset: 57
type: headers
payload:
method: SOURCE
status: null
url: /music/sweet/music
protocol: HTTP
version: '1.1'
body: null
- offset: 57
type: complete
payload: null