Skip to main content

HTTP_DEFAULT_CLIENT

Constant HTTP_DEFAULT_CLIENT 

Source
pub const HTTP_DEFAULT_CLIENT: &str = "unknown-http-client";
Expand description

Default client name used when an HTTP caller omits the X-Trusty-Client-Name header.

Why: every drawer must carry a creator:client= tag so the dashboard renders a consistent “client” column; a missing header must not yield a missing tag. The fallback is verbose on purpose so operators can tell “the caller forgot to identify itself” apart from “the caller is a known trusty-* binary”. Test: drawer_creator_attribution_http_default.