{"action":"created","issue":{"url":"https://api.github.com/repos/slimphp/Slim/issues/1807","repository_url":"https://api.github.com/repos/slimphp/Slim","labels_url":"https://api.github.com/repos/slimphp/Slim/issues/1807/labels{/name}","comments_url":"https://api.github.com/repos/slimphp/Slim/issues/1807/comments","events_url":"https://api.github.com/repos/slimphp/Slim/issues/1807/events","html_url":"https://github.com/slimphp/Slim/issues/1807","id":139559765,"number":1807,"title":"Request::getParsedBody returns false but must null|array|object","user":{"login":"p-golovin","id":7702213,"avatar_url":"https://avatars.githubusercontent.com/u/7702213?v=3","gravatar_id":"","url":"https://api.github.com/users/p-golovin","html_url":"https://github.com/p-golovin","followers_url":"https://api.github.com/users/p-golovin/followers","following_url":"https://api.github.com/users/p-golovin/following{/other_user}","gists_url":"https://api.github.com/users/p-golovin/gists{/gist_id}","starred_url":"https://api.github.com/users/p-golovin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p-golovin/subscriptions","organizations_url":"https://api.github.com/users/p-golovin/orgs","repos_url":"https://api.github.com/users/p-golovin/repos","events_url":"https://api.github.com/users/p-golovin/events{/privacy}","received_events_url":"https://api.github.com/users/p-golovin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-09T12:09:50Z","updated_at":"2016-03-09T13:25:52Z","closed_at":null,"body":"I send POST request from jQuery via XMLHttpRequest. In case of empty request body there is no Content-Type header. In such case Request::getMediaType returns null and Request::getParsedBody returns false.\r\nThis was broke after 3.2.0 update (https://github.com/slimphp/Slim/pull/1734)"},"comment":{"url":"https://api.github.com/repos/slimphp/Slim/issues/comments/194295236","html_url":"https://github.com/slimphp/Slim/issues/1807#issuecomment-194295236","issue_url":"https://api.github.com/repos/slimphp/Slim/issues/1807","id":194295236,"user":{"login":"p-golovin","id":7702213,"avatar_url":"https://avatars.githubusercontent.com/u/7702213?v=3","gravatar_id":"","url":"https://api.github.com/users/p-golovin","html_url":"https://github.com/p-golovin","followers_url":"https://api.github.com/users/p-golovin/followers","following_url":"https://api.github.com/users/p-golovin/following{/other_user}","gists_url":"https://api.github.com/users/p-golovin/gists{/gist_id}","starred_url":"https://api.github.com/users/p-golovin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p-golovin/subscriptions","organizations_url":"https://api.github.com/users/p-golovin/orgs","repos_url":"https://api.github.com/users/p-golovin/repos","events_url":"https://api.github.com/users/p-golovin/events{/privacy}","received_events_url":"https://api.github.com/users/p-golovin/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T13:25:52Z","updated_at":"2016-03-09T13:25:52Z","body":"May be add else for this (https://github.com/slimphp/Slim/blob/3.x/Slim/Http/Request.php#L972-L982):\r\n```php\r\nelse {\r\n    return null;\r\n}\r\n```"}}