Skip to content

Commit c3a9116

Browse files
committed
Adds user-agent header to V2 API client
1 parent d1111f8 commit c3a9116

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Kobas/Client.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ protected function call($http_method, $route, array $params = array(), array $he
186186
$headers = array_merge($this->headers, $headers);
187187

188188
$headers['Content-Type'] = 'application/json';
189+
$headers['User-Agent'] = 'Kobas API V2 Client';
189190

190191
switch ($http_method) {
191192
case 'POST':

0 commit comments

Comments
 (0)