From 68adcf657af6d467b461912f42504d1d7922df25 Mon Sep 17 00:00:00 2001 From: "William R. Arellano" Date: Tue, 7 Mar 2023 20:32:37 -0500 Subject: [PATCH] Add test to check content type image/* --- actix-web/src/http/header/content_type.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/actix-web/src/http/header/content_type.rs b/actix-web/src/http/header/content_type.rs index 1fc75d0e..7e399a1d 100644 --- a/actix-web/src/http/header/content_type.rs +++ b/actix-web/src/http/header/content_type.rs @@ -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))); + } }