Skip to content

Commit

Permalink
Disable Expect header
Browse files Browse the repository at this point in the history
  • Loading branch information
MattKetmo committed Sep 12, 2014
1 parent cb679a1 commit e1001d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Openl10n/Sdk/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public function __construct(Config $config)
'base_url' => ['{scheme}://{hostname}:{port}/api/', $options->toArray()],
'defaults' => [
'auth' => [$config->getLogin(), $config->getPassword()],
'expect' => false,
'headers' => [
'Accept' => 'application/json',
'User-Agent' => 'Openl10n '.Client::getDefaultUserAgent()
Expand Down

0 comments on commit e1001d9

Please sign in to comment.