We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 45ec6fd + ec568e9 commit 3dcb869Copy full SHA for 3dcb869
src/header/common/content_type.rs
@@ -61,7 +61,7 @@ impl ContentType {
61
/// A constructor to easily create a `Content-Type: application/json; charset=utf-8` header.
62
#[inline]
63
pub fn json() -> ContentType {
64
- ContentType(mime!(Application/Json; Charset=Utf8))
+ ContentType(mime!(Application/Json))
65
}
66
67
/// A constructor to easily create a `Content-Type: text/plain; charset=utf-8` header.
0 commit comments