path: tests/fixtures/llhttp/request/no-headers-and-no-body.yml
name: No Headers And No Body
checked: true
source:
  path: test/request/sample.md
  line: 196
meta:
  type: request
input:
- GET /get_no_headers_no_body/world HTTP/1.1
- ''
- ''
llhttp:
- off=0 message begin
- off=0 len=3 span[method]="GET"
- off=3 method complete
- off=4 len=29 span[url]="/get_no_headers_no_body/world"
- off=34 url complete
- off=34 len=4 span[protocol]="HTTP"
- off=38 protocol complete
- off=39 len=3 span[version]="1.1"
- off=42 version complete
- off=46 headers complete method=1 v=1/1 flags=0 content_length=0
- off=46 message complete
output:
- offset: 0
  type: request
  payload: null
- offset: 0
  type: begin
  payload: null
- offset: 0
  type: method
  payload: GET
- offset: 4
  type: url
  payload: /get_no_headers_no_body/world
- offset: 34
  type: protocol
  payload: HTTP
- offset: 39
  type: version
  payload: '1.1'
- offset: 46
  type: headers
  payload:
    method: GET
    status: null
    url: /get_no_headers_no_body/world
    protocol: HTTP
    version: '1.1'
    body: null
- offset: 46
  type: complete
  payload: null
