path: tests/fixtures/llhttp/request/host-terminated-by-a-query-string.yml
name: Host Terminated By A Query String
checked: true
source:
  path: test/request/uri.md
  line: 52
meta:
  type: request
input:
- GET http://hypnotoad.org?hail=all HTTP/1.1\r\n
- ''
- ''
llhttp:
- off=0 message begin
- off=0 len=3 span[method]="GET"
- off=3 method complete
- off=4 len=29 span[url]="http://hypnotoad.org?hail=all"
- 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: http://hypnotoad.org?hail=all
- offset: 34
  type: protocol
  payload: HTTP
- offset: 39
  type: version
  payload: '1.1'
- offset: 46
  type: headers
  payload:
    method: GET
    status: null
    url: http://hypnotoad.org?hail=all
    protocol: HTTP
    version: '1.1'
    body: null
- offset: 46
  type: complete
  payload: null
- offset: 46
  type: request
  payload: null
- offset: 46
  type: begin
  payload: null
