mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/17443] Use default */* accept header (like curl etc)
PHPBB-17443
This commit is contained in:
parent
253579761d
commit
13945f56a9
1 changed files with 1 additions and 1 deletions
|
@ -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' => '*/*',
|
||||||
],
|
],
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue