{"action":"created","issue":{"url":"https://api.github.com/repos/hyperium/hyper/issues/611","labels_url":"https://api.github.com/repos/hyperium/hyper/issues/611/labels{/name}","comments_url":"https://api.github.com/repos/hyperium/hyper/issues/611/comments","events_url":"https://api.github.com/repos/hyperium/hyper/issues/611/events","html_url":"https://github.com/hyperium/hyper/pull/611","id":95136751,"number":611,"title":"docs(headers): move blank line in right place.","user":{"login":"batisteo","id":2727048,"avatar_url":"https://avatars.githubusercontent.com/u/2727048?v=3","gravatar_id":"","url":"https://api.github.com/users/batisteo","html_url":"https://github.com/batisteo","followers_url":"https://api.github.com/users/batisteo/followers","following_url":"https://api.github.com/users/batisteo/following{/other_user}","gists_url":"https://api.github.com/users/batisteo/gists{/gist_id}","starred_url":"https://api.github.com/users/batisteo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batisteo/subscriptions","organizations_url":"https://api.github.com/users/batisteo/orgs","repos_url":"https://api.github.com/users/batisteo/repos","events_url":"https://api.github.com/users/batisteo/events{/privacy}","received_events_url":"https://api.github.com/users/batisteo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-15T08:40:11Z","updated_at":"2015-07-16T23:04:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hyperium/hyper/pulls/611","html_url":"https://github.com/hyperium/hyper/pull/611","diff_url":"https://github.com/hyperium/hyper/pull/611.diff","patch_url":"https://github.com/hyperium/hyper/pull/611.patch"},"body":"http://ironframework.io/doc/iron/headers/struct.ContentType.html#examples"},"comment":{"url":"https://api.github.com/repos/hyperium/hyper/issues/comments/122126577","html_url":"https://github.com/hyperium/hyper/pull/611#issuecomment-122126577","issue_url":"https://api.github.com/repos/hyperium/hyper/issues/611","id":122126577,"user":{"login":"batisteo","id":2727048,"avatar_url":"https://avatars.githubusercontent.com/u/2727048?v=3","gravatar_id":"","url":"https://api.github.com/users/batisteo","html_url":"https://github.com/batisteo","followers_url":"https://api.github.com/users/batisteo/followers","following_url":"https://api.github.com/users/batisteo/following{/other_user}","gists_url":"https://api.github.com/users/batisteo/gists{/gist_id}","starred_url":"https://api.github.com/users/batisteo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batisteo/subscriptions","organizations_url":"https://api.github.com/users/batisteo/orgs","repos_url":"https://api.github.com/users/batisteo/repos","events_url":"https://api.github.com/users/batisteo/events{/privacy}","received_events_url":"https://api.github.com/users/batisteo/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T23:04:23Z","updated_at":"2015-07-16T23:04:23Z","body":"Changed from:\r\n```rust\r\nuse hyper::header::{Headers, ContentType};\r\nuse hyper::mime::{Mime, TopLevel, SubLevel, Attr, Value};\r\n\r\nlet mut headers = Headers::new();\r\nheaders.set(\r\n    ContentType(Mime(TopLevel::Application, SubLevel::Json,\r\n                     vec![(Attr::Charset, Value::Utf8)]))\r\n\r\n);\r\n```\r\n\r\nto:\r\n\r\n```rust\r\nuse hyper::header::{Headers, ContentType};\r\nuse hyper::mime::{Mime, TopLevel, SubLevel, Attr, Value};\r\n\r\nlet mut headers = Headers::new();\r\n\r\nheaders.set(\r\n    ContentType(Mime(TopLevel::Application, SubLevel::Json,\r\n                     vec![(Attr::Charset, Value::Utf8)]))\r\n);\r\n```\r\nfor consistency with previous block."}}