mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-05 17:34:55 +02:00
[ticket/17443] Use default */* accept header (like curl etc)
PHPBB-17443
This commit is contained in:
@ -53,7 +53,7 @@ class file_downloader
|
|||||||
'timeout' => $timeout,
|
'timeout' => $timeout,
|
||||||
'headers' => [
|
'headers' => [
|
||||||
'user-agent' => 'phpBB/' . PHPBB_VERSION,
|
'user-agent' => 'phpBB/' . PHPBB_VERSION,
|
||||||
'accept' => 'text/html,application/xhtml+xml,application/xml'
|
'accept' => '*/*',
|
||||||
],
|
],
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user