{"issue":{"created_at":"2011-11-19T03:35:58Z","state":"open","updated_at":"2011-11-19T03:56:13Z","comments":2,"user":{"gravatar_id":"88f2ee32d146425a422f58f8eab5424b","id":127594,"url":"https://api.github.com/users/donpark","login":"donpark","avatar_url":"https://secure.gravatar.com/avatar/88f2ee32d146425a422f58f8eab5424b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Sometimes requests are made with Content-Type set but without body.\r\n\r\nConnect 1.8.0 throws `SyntaxError: Unexpected end of input` error when HTTP POST with Content-Type set to 'application/json' but without body.\r\n\r\nMaster branch seems to be checking for empty body.\r\n\r\nWorkaround: send empty object (`{}`) as JSON body.","assignee":null,"id":2286916,"number":415,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"title":"bodyParser should check for empty body","closed_at":null,"html_url":"https://github.com/senchalabs/connect/issues/415","milestone":null,"url":"https://api.github.com/repos/senchalabs/connect/issues/415"},"action":"created","comment":{"created_at":"2011-11-19T03:56:13Z","updated_at":"2011-11-19T03:56:13Z","user":{"gravatar_id":"88f2ee32d146425a422f58f8eab5424b","id":127594,"url":"https://api.github.com/users/donpark","login":"donpark","avatar_url":"https://secure.gravatar.com/avatar/88f2ee32d146425a422f58f8eab5424b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"True but, unless I'm mistaken, Connect used to ignore body-less content-type request and 2.0 looks to be same so I would treat this issue as a possible legacy issue. Just reporting, your call. :-)","id":2797283,"url":"https://api.github.com/repos/senchalabs/connect/issues/comments/2797283"}}