diff options
author | René Kijewski <kijewski@library.vetmed.fu-berlin.de> | 2022-01-06 14:30:46 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2022-01-07 13:18:03 +0100 |
commit | 332d741f212eb2aac7bfb2eec1df1f33bfb46a05 (patch) | |
tree | f7f2d529d3db59beae9e28db8c3938e37d6a8f20 /askama_mendes/tests | |
parent | a9aebf82fbb59a0323c78c4c248eaaafab1ab00f (diff) | |
download | askama-332d741f212eb2aac7bfb2eec1df1f33bfb46a05.tar.gz askama-332d741f212eb2aac7bfb2eec1df1f33bfb46a05.tar.bz2 askama-332d741f212eb2aac7bfb2eec1df1f33bfb46a05.zip |
Use Template::MIME_TYPE instead of extension
Diffstat (limited to 'askama_mendes/tests')
-rw-r--r-- | askama_mendes/tests/basic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_mendes/tests/basic.rs b/askama_mendes/tests/basic.rs index 2a07c13..e2f5b25 100644 --- a/askama_mendes/tests/basic.rs +++ b/askama_mendes/tests/basic.rs @@ -19,7 +19,7 @@ async fn test() { rsp.headers .get("content-type") .and_then(|hv| hv.to_str().ok()), - Some("text/plain") + Some("text/plain; charset=utf-8") ); assert_eq!(to_bytes(body).await.unwrap(), &b"Hello, world!"[..]); } |