Skip to content

Commit

Permalink
Merge pull request #52 from Kentico/httpversionheader
Browse files Browse the repository at this point in the history
Fix sdk header identifier
  • Loading branch information
petrsvihlik authored Feb 1, 2018
2 parents ec4f10a + 2d30b59 commit 7a7e8c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/KenticoCloud/Delivery/DeliveryClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/
class DeliveryClient
{
private $sdkVersion = '0.9.5';
private $sdkVersion = '0.9.6';

private $urlBuilder = null;
private $previewMode = false;
Expand Down Expand Up @@ -270,7 +270,7 @@ protected function initRequestTemplate()
$template->addHeader('X-KC-Wait-For-Loading-New-Content', 'true');
}

$template->addHeader('X-KC-SDKID:', "packagist.org;kentico-cloud/delivery-sdk-php;{$this->sdkVersion}");
$template->addHeader('X-KC-SDKID', "packagist.org;kentico-cloud/delivery-sdk-php;{$this->sdkVersion}");

// Set an HTTP request template
Request::ini($template);
Expand Down

0 comments on commit 7a7e8c9

Please sign in to comment.