Bad HTTP responses now have a 0 status code instead of 200 OK.
This commit is contained in:
Jesse Tuchsen 2014-11-27 10:01:38 -08:00
parent 431644bfc8
commit b664ee88e7
5 changed files with 14 additions and 22 deletions

View file

@ -19,7 +19,7 @@ pub fn factory(mut load_data: LoadData, start_chan: Sender<LoadResponse>) {
content_type: Some(("text".to_string(), "html".to_string())),
charset: Some("utf-8".to_string()),
headers: None,
status: StatusOk,
status: Some(StatusOk),
});
chan.send(Done(Ok(())));
return