Use Guzzle for HTTPClient::post()

This commit is contained in:
Philipp 2021-08-23 14:02:52 +02:00
parent 736277dcf0
commit e576af218b
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD
2 changed files with 20 additions and 101 deletions

View file

@ -51,7 +51,7 @@ class HTTPClientFactory extends BaseFactory
ResponseInterface $response,
UriInterface $uri
) use ($logger) {
$logger->notice('Curl redirect.', ['url' => $request->getUri(), 'to' => $uri]);
$logger->notice('Curl redirect.', ['url' => $request->getUri(), 'to' => $uri, 'method' => $request->getMethod()]);
};
$userAgent = FRIENDICA_PLATFORM . " '" .