Update SimplePie default HTTP Accept

Fix https://github.com/FreshRSS/FreshRSS/pull/5079#issuecomment-1421619176
The `*/*` breaks Mastodon content negotiation
This commit is contained in:
Alexandre Alapetite committed 2023-02-08 11:00:15 +01:00
1 parent fb5d1ff10a
commit 13a5a5cb3b
1 file changed
+1 -1
+1 -1
View File
@@ -55,7 +55,7 @@
class SimplePie_File
{
const DEFAULT_HTTP_ACCEPT = 'application/atom+xml, application/rss+xml, application/rdf+xml;q=0.9, application/xml;q=0.8, text/xml;q=0.8, text/html;q=0.7, unknown/unknown;q=0.1, application/unknown;q=0.1, */*;q=0.1';
const DEFAULT_HTTP_ACCEPT = 'application/atom+xml, application/rss+xml, application/rdf+xml;q=0.9, application/xml;q=0.8, text/xml;q=0.7, text/html;q=0.6, text/plain;q=0.5, application/octet-stream;q=0.1';
var $url;
var $useragent;