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