mirror of
https://github.com/Art-of-WiFi/UniFi-API-client.git
synced 2024-12-25 02:10:05 +01:00
removed non-compliant header suffix
This commit is contained in:
parent
5281db56de
commit
474578a9d5
@ -3814,7 +3814,7 @@ class Client
|
||||
* prepare cURL options
|
||||
*/
|
||||
$curl_options = [
|
||||
CURLOPT_URL => $url,
|
||||
CURLOPT_URL => $url
|
||||
];
|
||||
|
||||
/**
|
||||
@ -3829,7 +3829,7 @@ class Client
|
||||
* 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:'
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user