path: tests/fixtures/llhttp/request/host-port-terminated-by-a-space.yml
name: Host:port Terminated By A Space
checked: true
source:
  path: test/request/uri.md
  line: 125
meta:
  type: request
input:
- GET http://hypnotoad.org:1234 HTTP/1.1
- ''
- ''
llhttp:
- off=0 message begin
- off=0 len=3 span[method]="GET"
- off=3 method complete
- off=4 len=25 span[url]="http://hypnotoad.org:1234"
- off=30 url complete
- off=30 len=4 span[protocol]="HTTP"
- off=34 protocol complete
- off=35 len=3 span[version]="1.1"
- off=38 version complete
- off=42 headers complete method=1 v=1/1 flags=0 content_length=0
- off=42 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
- offset: 30
  type: protocol
  payload: HTTP
- offset: 35
  type: version
  payload: '1.1'
- offset: 42
  type: headers
  payload:
    method: GET
    status: null
    url: http://hypnotoad.org:1234
    protocol: HTTP
    version: '1.1'
    body: null
- offset: 42
  type: complete
  payload: null
