diff options
Diffstat (limited to 'spider/src/response.rs')
| -rw-r--r-- | spider/src/response.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spider/src/response.rs b/spider/src/response.rs index 3873315..fe1df78 100644 --- a/spider/src/response.rs +++ b/spider/src/response.rs @@ -24,6 +24,8 @@ impl Response { } pub fn format<'a>(&self) -> Vec<u8> { + // FIXME(andrew): is undefined status code an error that should + // be handled here? let status_text = match get_status_text(self.code) { Some(text) => text, None => String::from("UNDEFINED") |