richard
/
cyca
Archived
1
0
Fork 0
This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues/pull-requests.
cyca/config/http_client.php

22 lines
596 B
PHP
Executable File

<?php
/**
* HTTP client settings
*/
return [
'allow_redirects' => [
'max' => 5,
'strict' => false,
'referer' => false,
'protocols' => ['http', 'https'],
'track_redirects' => true
],
'headers' => [
'User-Agent' => config('app.name') . '/' . config('app.version')
],
// For security reasons, SSL certificate verification should be enabled.
// However, document's served through a connection using a self-signed
// certification will be marked as unreachable.
'verify' => false
];