Http1RequestTarget
Http1RequestTarget = {
form:"origin";path:string; } | {authority:string;form:"absolute";path:string;scheme:string; } | {authority:string;form:"authority"; } | {form:"asterisk"; }
Defined in: packages/format-http/src/h1/http1-request-target.ts:10
A request-target in one of the four forms of RFC 9112 §3.2.
origin—/path?query, the usual form.absolute—http://host/path?query, sent to proxies; a server must accept it too, and take the authority from it rather than fromHost.authority—host:port, only forCONNECT.asterisk—*, only for a server-wideOPTIONS.