{"action":"created","issue":{"url":"https://api.github.com/repos/Kdyby/Curl/issues/23","labels_url":"https://api.github.com/repos/Kdyby/Curl/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/Kdyby/Curl/issues/23/comments","events_url":"https://api.github.com/repos/Kdyby/Curl/issues/23/events","html_url":"https://github.com/Kdyby/Curl/issues/23","id":57066005,"number":23,"title":"Empty post throws BadStatusException exception","user":{"login":"Zarganwar","id":8614429,"avatar_url":"https://avatars.githubusercontent.com/u/8614429?v=3","gravatar_id":"","url":"https://api.github.com/users/Zarganwar","html_url":"https://github.com/Zarganwar","followers_url":"https://api.github.com/users/Zarganwar/followers","following_url":"https://api.github.com/users/Zarganwar/following{/other_user}","gists_url":"https://api.github.com/users/Zarganwar/gists{/gist_id}","starred_url":"https://api.github.com/users/Zarganwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zarganwar/subscriptions","organizations_url":"https://api.github.com/users/Zarganwar/orgs","repos_url":"https://api.github.com/users/Zarganwar/repos","events_url":"https://api.github.com/users/Zarganwar/events{/privacy}","received_events_url":"https://api.github.com/users/Zarganwar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-09T17:56:51Z","updated_at":"2015-02-09T18:44:24Z","closed_at":null,"body":"Hi,\r\nwhy\r\n\r\n$curl->post('');\r\nor $curl->post(array());\r\n\r\nThrows: Kdyby\\Curl\\BadStatusException #413\r\n413 Request Entity Too Large\r\n\r\nEmpty post isn't prohibited usage or?\r\n\r\nThx a lot for answer."},"comment":{"url":"https://api.github.com/repos/Kdyby/Curl/issues/comments/73564816","html_url":"https://github.com/Kdyby/Curl/issues/23#issuecomment-73564816","issue_url":"https://api.github.com/repos/Kdyby/Curl/issues/23","id":73564816,"user":{"login":"fprochazka","id":158625,"avatar_url":"https://avatars.githubusercontent.com/u/158625?v=3","gravatar_id":"","url":"https://api.github.com/users/fprochazka","html_url":"https://github.com/fprochazka","followers_url":"https://api.github.com/users/fprochazka/followers","following_url":"https://api.github.com/users/fprochazka/following{/other_user}","gists_url":"https://api.github.com/users/fprochazka/gists{/gist_id}","starred_url":"https://api.github.com/users/fprochazka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fprochazka/subscriptions","organizations_url":"https://api.github.com/users/fprochazka/orgs","repos_url":"https://api.github.com/users/fprochazka/repos","events_url":"https://api.github.com/users/fprochazka/events{/privacy}","received_events_url":"https://api.github.com/users/fprochazka/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T18:44:24Z","updated_at":"2015-02-09T18:44:24Z","body":"Hi, this is an error that is thrown by server when you send it too much data. I have no idea how you've managed that :)"}}