Babysteps vol. 3.

This commit is contained in:
Jordan Petridis
2017-10-10 01:07:22 +03:00
parent fda21cdf16
commit 10fd018f1f
3 changed files with 28 additions and 525 deletions
+4 -4
View File
@@ -207,10 +207,10 @@ fn refresh_source(
// 302: Temporary redirect of the url
// 304: Up to date Feed, checked with the Etag
// 410: Feed deleted
match req.status() {
reqwest::StatusCode::NotModified => (),
_ => (),
};
// match req.status() {
// reqwest::StatusCode::NotModified => (),
// _ => (),
// };
feed.update_etag(connection, &req)?;
Ok((req, feed.clone()))