This could just be `Loading | XHRDone if self.response.len() > 0 => Ok(self.response.decode()) | _ => Ok("".to_owned())`