Skip to content

Commit 3dcb869

Browse files
committed
Merge pull request #742 from gsquire/json-charset-bug
JSON Charset patch
2 parents 45ec6fd + ec568e9 commit 3dcb869

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/header/common/content_type.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ impl ContentType {
6161
/// A constructor to easily create a `Content-Type: application/json; charset=utf-8` header.
6262
#[inline]
6363
pub fn json() -> ContentType {
64-
ContentType(mime!(Application/Json; Charset=Utf8))
64+
ContentType(mime!(Application/Json))
6565
}
6666

6767
/// A constructor to easily create a `Content-Type: text/plain; charset=utf-8` header.

0 commit comments

Comments
 (0)