Add test to check content type image/*

This commit is contained in:
William R. Arellano 2023-03-07 20:32:37 -05:00
parent 99bccb74ac
commit 68adcf657a
1 changed files with 5 additions and 0 deletions

View File

@ -53,6 +53,11 @@ crate::http::header::common_header! {
test1,
vec![b"text/html"],
Some(HeaderField(mime::TEXT_HTML)));
crate::http::header::common_header_test!(
test2,
vec![b"image/*"],
Some(HeaderField(mime::IMAGE_STAR)));
}
}