Expand description
The User-Agent every HTTP-backed crate in this workspace sends.
A request that sends no User-Agent is traffic a provider cannot
attribute: Azure reads it for telemetry, throttling diagnostics and
supportability, and other providers use it the same way. Upstream
identifies itself per package (#9223).
Only the format lives here. This crate deliberately has no reqwest
dependency, so each provider crate builds its own client and passes this
string to reqwest::ClientBuilder::user_agent — which keeps the one
format shared without dragging an HTTP stack into the core.
Constants§
- USER_
AGENT_ PRODUCT - The product token every request from this port carries.
Functions§
- user_
agent - The
User-Agentvalue for a request made bycomponentatversion.