diff --git a/src/http/handler.rs b/src/http/handler.rs index 179291f..231c7c2 100644 --- a/src/http/handler.rs +++ b/src/http/handler.rs @@ -96,6 +96,8 @@ fn endpoint_handler( ) { let mut buf = [0; 8192]; + res.add_header("Cache-Control", "no-store"); + let mut error = |code: u16, err_str: &str, client: &mut super::HttpStream| { println!("{}", err_str); res.status(code);