forked from Wavyzz/dolibarr
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0
This commit is contained in:
@@ -33,7 +33,7 @@ class StreamClient extends AbstractClient
|
||||
// Normalize method name
|
||||
$method = strtoupper($method);
|
||||
|
||||
$this->normalizeHeaders($extraHeaders);
|
||||
$extraHeaders = $this->normalizeHeaders($extraHeaders);
|
||||
|
||||
if ($method === 'GET' && !empty($requestBody)) {
|
||||
throw new \InvalidArgumentException('No body expected for "GET" request.');
|
||||
|
||||
Reference in New Issue
Block a user