pub fn origin(req: &Request, caller: &Caller, mcp: bool) -> OriginExpand description
Where a request came from, for the audit log: the surface (cli over
the unix socket, mcp, web for a browser session, else rest), the
client’s address and agent, and a request id (X-Request-Id when it is
sane, else Cf-Ray, else a fresh one).