path: tests/fixtures/llhttp/request/request-with-method-starting-with-h.yml
name: Request With Method Starting With H
checked: true
source:
  path: test/request/sample.md
  line: 39
meta:
  noScan: true
  type: request
input:
- HEAD /url HTTP/1.1
- ''
- ''
llhttp:
- off=0 message begin
- off=0 len=4 span[method]="HEAD"
- off=4 method complete
- off=5 len=4 span[url]="/url"
- off=10 url complete
- off=10 len=4 span[protocol]="HTTP"
- off=14 protocol complete
- off=15 len=3 span[version]="1.1"
- off=18 version complete
- off=22 headers complete method=2 v=1/1 flags=0 content_length=0
- off=22 message complete
output:
- offset: 0
  type: request
  payload: null
- offset: 0
  type: begin
  payload: null
- offset: 0
  type: method
  payload: HEAD
- offset: 5
  type: url
  payload: /url
- offset: 10
  type: protocol
  payload: HTTP
- offset: 15
  type: version
  payload: '1.1'
- offset: 22
  type: headers
  payload:
    method: HEAD
    status: null
    url: /url
    protocol: HTTP
    version: '1.1'
    body: null
- offset: 22
  type: complete
  payload: null
