path: tests/fixtures/llhttp/request/fragment-in-uri.yml
name: Fragment In URI
checked: true
source:
  path: test/request/uri.md
  line: 165
meta:
  type: request
input:
- GET /forums/1/topics/2375?page=1#posts-17408 HTTP/1.1
- ''
- ''
llhttp:
- off=0 message begin
- off=0 len=3 span[method]="GET"
- off=3 method complete
- off=4 len=40 span[url]="/forums/1/topics/2375?page=1#posts-17408"
- off=45 url complete
- off=45 len=4 span[protocol]="HTTP"
- off=49 protocol complete
- off=50 len=3 span[version]="1.1"
- off=53 version complete
- off=57 headers complete method=1 v=1/1 flags=0 content_length=0
- off=57 message complete
output:
- offset: 0
  type: request
  payload: null
- offset: 0
  type: begin
  payload: null
- offset: 0
  type: error
  payload:
    code: UNEXPECTED_CHARACTER
    description: Invalid URL character
