Skip to content

Commit

Permalink
Merge pull request #742 from gsquire/json-charset-bug
Browse files Browse the repository at this point in the history
JSON Charset patch
  • Loading branch information
seanmonstar committed Mar 9, 2016
2 parents 45ec6fd + ec568e9 commit 3dcb869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/header/common/content_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3dcb869

Please sign in to comment.