feat: render fixed-width text for nex
This commit is contained in:
parent
2f38b8b929
commit
9e1cfed284
19 changed files with 1160 additions and 44 deletions
|
|
@ -129,7 +129,7 @@ pub fn serve(listener: &Listener, mut stream: TcpStream) -> Result<()> {
|
|||
head_only,
|
||||
);
|
||||
};
|
||||
let cache = page.settings.cache_control.map(|age| format!("max-age={age}"));
|
||||
let cache = page.settings.max_age.map(|age| format!("max-age={age}"));
|
||||
let mut headers: Vec<(&str, &str)> = Vec::new();
|
||||
// The response body depends on Accept, so a shared cache must not
|
||||
// serve one client's format to another.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue