This commit is contained in:
Richard Dern
2022-01-12 00:35:37 +01:00
commit 400e3d01f1
1363 changed files with 57778 additions and 0 deletions

21
config/http_client.php Executable file
View File

@@ -0,0 +1,21 @@
<?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
];