This commit is contained in:
Carl Lerche
2017-08-09 11:43:55 -07:00
parent f39e983af0
commit 0bf0e79132
3 changed files with 13 additions and 10 deletions

View File

@@ -42,7 +42,9 @@ pub fn main() {
.status(status::OK)
.body(()).unwrap();
stream.send_response(response, true).unwrap();
if let Err(e) = stream.send_response(response, true) {
println!(" error responding; err={:?}", e);
}
Ok(())
})