mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-30 09:18:18 +00:00
Always save cache-control info for feeds.
This commit is contained in:
1 parent
2a10090618
commit
f712ec440a
1 file changed
+2
-6
@@ -154,12 +154,8 @@ import os
|
||||
return
|
||||
}
|
||||
|
||||
if url.isOpenRSSOrgURL {
|
||||
// Supported only for openrss.org. Cache-Control headers are
|
||||
// otherwise not intentional for feeds, unfortunately.
|
||||
if let cacheControlInfo = CacheControlInfo(urlResponse: httpResponse) {
|
||||
feed.cacheControlInfo = cacheControlInfo
|
||||
}
|
||||
if let cacheControlInfo = CacheControlInfo(urlResponse: httpResponse) {
|
||||
feed.cacheControlInfo = cacheControlInfo
|
||||
}
|
||||
|
||||
let dataHash = data.md5String
|
||||
|
||||
Reference in new issue
Block a user