mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-05 01:15:46 +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,
|
||||
'headers' => [
|
||||
'user-agent' => 'phpBB/' . PHPBB_VERSION,
|
||||
'accept' => 'text/html,application/xhtml+xml,application/xml'
|
||||
'accept' => '*/*',
|
||||
],
|
||||
]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user