diff --git a/MangoPay/Libraries/RestTool.php b/MangoPay/Libraries/RestTool.php index fecf7f91..0cac4937 100644 --- a/MangoPay/Libraries/RestTool.php +++ b/MangoPay/Libraries/RestTool.php @@ -327,7 +327,7 @@ private function GetHttpHeaders($idempotencyKey = null) array_push($this->_requestHttpHeaders, self::$_JSON_HEADER); // Add User-Agent Header - array_push($this->_requestHttpHeaders, 'MangoPay V2 SDK PHP ' . self::VERSION); + array_push($this->_requestHttpHeaders, 'User-Agent: MangoPay V2 SDK PHP ' . self::VERSION); // Authentication http header if ($this->_authRequired) { $authHlp = new AuthenticationHelper($this->_root);