mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-06 16:46:30 +02:00
fix(reddit): cache tweak for 403 forbidden (#3830)
This commit is contained in:
@@ -71,6 +71,7 @@ function getContents(
|
||||
// Ignore invalid 'Last-Modified' HTTP header value
|
||||
}
|
||||
}
|
||||
// todo: to be nice nice citizen we should also check for Etag
|
||||
}
|
||||
|
||||
$response = $httpClient->request($url, $config);
|
||||
|
@@ -2,6 +2,7 @@
|
||||
|
||||
class HttpException extends \Exception
|
||||
{
|
||||
// todo: should include the failing http response (if present)
|
||||
}
|
||||
|
||||
final class CloudFlareException extends HttpException
|
||||
|
Reference in New Issue
Block a user