aboutsummaryrefslogtreecommitdiff
path: root/lib/lib_rss.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-05-25 18:27:12 +0200
committerGravatar GitHub <noreply@github.com> 2024-05-25 18:27:12 +0200
commit3cd90a2b1f1ad4f55b494de2019d2ed915bb79c6 (patch)
tree1e6789f4f5daeec540f9acadce24754886085f72 /lib/lib_rss.php
parent3e7054bddd57805b265b91f89ef6dc2ba2a1eaea (diff)
Fix HTTP GET curl options (#6492)
fix https://github.com/FreshRSS/FreshRSS/issues/6491 Regression from https://github.com/FreshRSS/FreshRSS/pull/6177
Diffstat (limited to 'lib/lib_rss.php')
-rw-r--r--lib/lib_rss.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php
index 22da0b98e..6bceccc86 100644
--- a/lib/lib_rss.php
+++ b/lib/lib_rss.php
@@ -544,6 +544,7 @@ function httpGet(string $url, string $cachePath, string $type = 'html', array $a
CURLOPT_RETURNTRANSFER => true,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_ENCODING => '', //Enable all encodings
+ //CURLOPT_VERBOSE => 1, // To debug sent HTTP headers
]);
curl_setopt_array($ch, FreshRSS_Context::systemConf()->curl_options);