path: tests/fixtures/llhttp/request/it-should-be-safe-to-finish-after-get-request.yml
name: It Should Be Safe To Finish After GET Request
checked: true
source:
  path: test/request/finish.md
  line: 6
meta:
  type: request-finish
input:
- GET / HTTP/1.1
- ''
- ''
llhttp:
- off=0 message begin
- off=0 len=3 span[method]="GET"
- off=3 method complete
- off=4 len=1 span[url]="/"
- off=6 url complete
- off=6 len=4 span[protocol]="HTTP"
- off=10 protocol complete
- off=11 len=3 span[version]="1.1"
- off=14 version complete
- off=18 headers complete method=1 v=1/1 flags=0 content_length=0
- off=18 message complete
- off=NULL finish=0
output:
- offset: 0
  type: request
  payload: null
- offset: 0
  type: begin
  payload: null
- offset: 0
  type: method
  payload: GET
- offset: 4
  type: url
  payload: /
- offset: 6
  type: protocol
  payload: HTTP
- offset: 11
  type: version
  payload: '1.1'
- offset: 18
  type: headers
  payload:
    method: GET
    status: null
    url: /
    protocol: HTTP
    version: '1.1'
    body: null
- offset: 18
  type: complete
  payload: null
