{"action":"opened","issue":{"url":"https://api.github.com/repos/akka/akka/issues/17716","labels_url":"https://api.github.com/repos/akka/akka/issues/17716/labels{/name}","comments_url":"https://api.github.com/repos/akka/akka/issues/17716/comments","events_url":"https://api.github.com/repos/akka/akka/issues/17716/events","html_url":"https://github.com/akka/akka/issues/17716","id":88343478,"number":17716,"title":"Optional entity and empty body","user":{"login":"2m","id":422086,"avatar_url":"https://avatars.githubusercontent.com/u/422086?v=3","gravatar_id":"","url":"https://api.github.com/users/2m","html_url":"https://github.com/2m","followers_url":"https://api.github.com/users/2m/followers","following_url":"https://api.github.com/users/2m/following{/other_user}","gists_url":"https://api.github.com/users/2m/gists{/gist_id}","starred_url":"https://api.github.com/users/2m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2m/subscriptions","organizations_url":"https://api.github.com/users/2m/orgs","repos_url":"https://api.github.com/users/2m/repos","events_url":"https://api.github.com/users/2m/events{/privacy}","received_events_url":"https://api.github.com/users/2m/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/akka/akka/labels/t:http:server","name":"t:http:server","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-15T07:17:55Z","updated_at":"2015-06-15T07:17:55Z","closed_at":null,"body":"As [reported in the mailing list](https://groups.google.com/forum/#!searchin/akka-user/optional$20entity/akka-user/gvP184RVHZQ/2QOfmMOHCAkJ) akka-http is not able to handle a request with an empty body when route expects an optional entity.\r\n\r\nEven an empty string is not a [valid json](https://www.ietf.org/rfc/rfc4627.txt) it should still be possible to handle such a request when expected entity is optional."}}