Clear TODO and FIXME that are no longer releavant.

This commit is contained in:
Jordan Petridis
2017-12-30 20:54:23 +02:00
parent 4894683924
commit 5730e71e2a
7 changed files with 5 additions and 12 deletions
-4
View File
@@ -612,7 +612,6 @@ impl<'a> Source {
let etag = headers.get::<ETag>();
let lmod = headers.get::<LastModified>();
// FIXME: This dsnt work most of the time apparently
if self.http_etag() != etag.map(|x| x.tag()) || self.last_modified != lmod.map(|x| {
format!("{}", x)
}) {
@@ -659,9 +658,6 @@ impl<'a> Source {
}
}
// FIXME: I have fucked up somewhere here.
// Getting back 200 codes even though I supposedly sent etags.
// info!("Headers: {:?}", headers);
let client = reqwest::Client::builder().referer(false).build()?;
let mut req = client.get(self.uri()).headers(headers).send()?;
-1
View File
@@ -8,7 +8,6 @@ use utils::replace_extra_spaces;
use errors::*;
// TODO: Extend the support for parsing itunes extensions
/// Parses a `rss::Channel` into a `NewPodcast` Struct.
pub(crate) fn new_podcast(chan: &Channel, source_id: i32) -> NewPodcast {
let title = chan.title().trim();