mirror of
https://github.com/fafhrd91/actix-web
synced 2025-07-31 12:34:05 +02:00
Add test to check content type image/*
This commit is contained in:
@@ -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)));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user