mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 00:04:27 +02:00
Use Guzzle for HTTPClient::post()
This commit is contained in:
parent
736277dcf0
commit
e576af218b
2 changed files with 20 additions and 101 deletions
|
@ -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 . " '" .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue