diff --git a/common/http-api-client/src/lib.rs b/common/http-api-client/src/lib.rs index 8bb81c2450..2d816cc142 100644 --- a/common/http-api-client/src/lib.rs +++ b/common/http-api-client/src/lib.rs @@ -73,6 +73,7 @@ impl Client { #[cfg(not(target_arch = "wasm32"))] let reqwest_client = reqwest::ClientBuilder::new() .timeout(timeout.unwrap_or(DEFAULT_TIMEOUT)) + .user_agent(format!("nym-http-api-client/{}", env!("CARGO_PKG_VERSION"))) .build() .expect("Client::new()");