http/request_target.ts view source
(request: Request): string import {get_request_path} from '@fuzdev/fuz_app/http/request_target.js'; A request's path as sent — nothing percent-decoded — which the assembled
server routes on (new Hono({getPath})), as the Rust spine's router
matches the raw Uri::path. So /%61pi/x is its own path, not /api/x,
on both spines, and every path-keyed layer (the auth and origin scopes,
the origin carve-outs, the session-cookie clear, the unmatched-route
handler) reads the spelling the router matched. Dot segments are the
runtime's: Node and Bun resolve them while building the request's URL,
before this runs.
request
the request, its url as the runtime serialized it
Requestreturns
string