mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 06:13:32 +09:00
Clean up default settings and proxy URL parsing logic
This commit is contained in:
parent
8db0b06b6a
commit
6a9902c3bb
2 changed files with 35 additions and 28 deletions
|
|
@ -287,10 +287,7 @@ class FileHandler
|
|||
// Convert backward-compatible parameters to a format accepted by the HTTP class.
|
||||
$converted_headers = [];
|
||||
$converted_cookies = [];
|
||||
$converted_settings = [
|
||||
'verify' => \RX_BASEDIR . 'common/vendor/composer/ca-bundle/res/cacert.pem',
|
||||
'timeout' => $timeout,
|
||||
];
|
||||
$converted_settings = ['timeout' => $timeout];
|
||||
|
||||
// Add headers.
|
||||
foreach ($headers as $key => $val)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue