~thirdplace/components

ea67cab3925ba75468237d38997f17dab86bd3f8 — Dag 2 years ago 8f7a129
fix: tweak defaults
2 files changed, 4 insertions(+), 3 deletions(-)

A .gitignore
M src/http/CurlHttpClient.php
A .gitignore => .gitignore +1 -0
@@ 0,0 1,1 @@
composer.lock

M src/http/CurlHttpClient.php => src/http/CurlHttpClient.php +3 -3
@@ 7,9 7,9 @@ final class CurlHttpClient implements HttpClient
{
    private const CONFIG = [
        'useragent'         => 'thirdplace http client',
        'connect_timeout'   => 3,
        'timeout'           => 3,
        'follow_location'   => true,
        'connect_timeout'   => 10,
        'timeout'           => 15,
        'follow_location'   => false,
        'max_redirs'        => 5,
        'headers'           => [],
        'body'              => null,