1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-23 01:41:20 +02:00

Merge pull request #445 from da2x/patch-1

Set “Accept-Encoding: gzip” header
This commit is contained in:
LogMANOriginal
2016-12-14 12:57:48 +01:00
committed by GitHub

View File

@@ -7,7 +7,8 @@ function getContents($url
){ ){
$contextOptions = array( $contextOptions = array(
'http' => array( 'http' => array(
'user_agent' => ini_get('user_agent') 'user_agent' => ini_get('user_agent'),
'accept_encoding' => 'gzip'
) )
); );