fix(reddit): cache tweak for 403 forbidden (#3830)

This commit is contained in:
Dag 2023-12-13 21:56:14 +01:00 committed by GitHub
parent f01729c86f
commit d157816e07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 2 deletions

View file

@ -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);