Skip to content

Commit 7f3a98b

Browse files
arubacaomheap
authored andcommitted
Feature/user agent (#89)
* change 'user-agent' to 'User-Agent' * update version number from '1.0.0' to '1.1.3'
1 parent c9554dd commit 7f3a98b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Client.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
*/
3939
class Client
4040
{
41-
const VERSION = '1.0.0';
41+
const VERSION = '1.1.3';
4242

4343
const BASE_API = 'https://api.nexmo.com';
4444
const BASE_REST = 'https://rest.nexmo.com';
@@ -344,7 +344,7 @@ public function send(\Psr\Http\Message\RequestInterface $request)
344344
}
345345

346346
// Set the header. Build by joining all the parts we have with a space
347-
$request = $request->withHeader('user-agent', implode(" ", $userAgent));
347+
$request = $request->withHeader('User-Agent', implode(" ", $userAgent));
348348

349349
$response = $this->client->sendRequest($request);
350350
return $response;

0 commit comments

Comments
 (0)