pub fn origin(headers: &HeaderMap, public_url: Option<&str>) -> Option<String>Expand description
sharing.public_url when set; otherwise the Host the request came in on,
with the scheme a proxy in front says it terminated. koan itself serves
plain HTTP, so without a forwarded scheme the request was plain HTTP.