diff --git a/src/header/common/content_type.rs b/src/header/common/content_type.rs index 1350cbb979..cb530f7879 100644 --- a/src/header/common/content_type.rs +++ b/src/header/common/content_type.rs @@ -61,7 +61,7 @@ impl ContentType { /// A constructor to easily create a `Content-Type: application/json; charset=utf-8` header. #[inline] pub fn json() -> ContentType { - ContentType(mime!(Application/Json; Charset=Utf8)) + ContentType(mime!(Application/Json)) } /// A constructor to easily create a `Content-Type: text/plain; charset=utf-8` header.