Skip to content

Commit

Permalink
removed non-compliant header suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
malle-pietje committed Mar 21, 2021
1 parent 5281db5 commit 474578a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -3814,7 +3814,7 @@ protected function exec_curl($path, $payload = null)
* prepare cURL options
*/
$curl_options = [
CURLOPT_URL => $url,
CURLOPT_URL => $url
];

/**
Expand All @@ -3829,7 +3829,7 @@ protected function exec_curl($path, $payload = null)
* add empty Expect header to prevent cURL from injecting an "Expect: 100-continue" header
*/
$this->headers = [
'content-type: application/json; charset=utf-8',
'content-type: application/json',
'Expect:'
];

Expand Down

0 comments on commit 474578a

Please sign in to comment.