-
Notifications
You must be signed in to change notification settings - Fork 385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some requests not using data compression (Accept-Encoding) #863
Comments
That sounds like that is an issue with a SimplePie fork used by http://feedonfeeds.com/, which looks pretty dead. I just tried with current SimplePie version (1.8.0) and the following example fetched the feed successfully: <?php
declare(strict_types=1);
require_once __DIR__ . '/vendor/autoload.php';
use SimplePie\SimplePie;
$url = 'https://linux-audit.com/feed/';
$parser = new SimplePie();
$parser->set_feed_url($url);
$parser->init();
foreach ($parser->get_items() as $item) {
var_dump($item->get_content());
} |
|
Looks like this fork based on the SimplePie version and the presence of |
Thanks @jtojnar for checking this out. I saw the 'FoF' but did not had a clue what it was. With your reference it makes sense that this is the project you listed. Strange that they mention SimpliePie so clearly and did not take the time to put up correct references to their own project. I say we close this, as it clearly something outside this project. Thanks again! |
Seeing in our logs that SimplePie is trying to get the feed. That goes well.
Then it follows with two requests. Both are blocked, as we don't allow uncompressed requests (Accept-Encoding).
Is the handler that pulls in the / URL and the favicon using a different set of options (HTTP protocol is different as well)?
The text was updated successfully, but these errors were encountered: