mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-01-17 22:28:22 +01:00
Set “Accept-Encoding: gzip” header
This commit is contained in:
parent
b4e6c0d973
commit
278d6a0ec2
@ -7,7 +7,8 @@ function getContents($url
|
||||
){
|
||||
$contextOptions = array(
|
||||
'http' => array(
|
||||
'user_agent' => ini_get('user_agent')
|
||||
'user_agent' => ini_get('user_agent'),
|
||||
'accept_encoding' => 'gzip'
|
||||
)
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user