mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-07 00:56:34 +02:00
tweaks (#4065)
This commit is contained in:
@@ -6,8 +6,17 @@ abstract class BridgeAbstract
|
||||
const URI = '';
|
||||
const DONATION_URI = '';
|
||||
const DESCRIPTION = 'No description provided';
|
||||
|
||||
/**
|
||||
* Preferably a github username
|
||||
*/
|
||||
const MAINTAINER = 'No maintainer';
|
||||
|
||||
/**
|
||||
* Cache TTL in seconds
|
||||
*/
|
||||
const CACHE_TIMEOUT = 3600;
|
||||
|
||||
const CONFIGURATION = [];
|
||||
const PARAMETERS = [];
|
||||
const TEST_DETECT_PARAMETERS = [];
|
||||
|
@@ -17,6 +17,8 @@ function getContents(
|
||||
$httpClient = RssBridge::getHttpClient();
|
||||
$cache = RssBridge::getCache();
|
||||
|
||||
// TODO: consider url validation at this point
|
||||
|
||||
$httpHeadersNormalized = [];
|
||||
foreach ($httpHeaders as $httpHeader) {
|
||||
$parts = explode(':', $httpHeader);
|
||||
|
Reference in New Issue
Block a user