{"action":"created","issue":{"url":"https://api.github.com/repos/ldidry/lutim/issues/39","labels_url":"https://api.github.com/repos/ldidry/lutim/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/ldidry/lutim/issues/39/comments","events_url":"https://api.github.com/repos/ldidry/lutim/issues/39/events","html_url":"https://github.com/ldidry/lutim/issues/39","id":37745029,"number":39,"title":"Bad status code when uploaded file is not an image","user":{"login":"ericguirbal","id":322135,"avatar_url":"https://avatars.githubusercontent.com/u/322135?v=3","gravatar_id":"","url":"https://api.github.com/users/ericguirbal","html_url":"https://github.com/ericguirbal","followers_url":"https://api.github.com/users/ericguirbal/followers","following_url":"https://api.github.com/users/ericguirbal/following{/other_user}","gists_url":"https://api.github.com/users/ericguirbal/gists{/gist_id}","starred_url":"https://api.github.com/users/ericguirbal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericguirbal/subscriptions","organizations_url":"https://api.github.com/users/ericguirbal/orgs","repos_url":"https://api.github.com/users/ericguirbal/repos","events_url":"https://api.github.com/users/ericguirbal/events{/privacy}","received_events_url":"https://api.github.com/users/ericguirbal/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-07-13T16:54:28Z","updated_at":"2015-08-02T20:39:04Z","closed_at":"2015-08-02T20:39:04Z","body":"When I try to upload a file that's not an image, lutim returns a response with status code 200. I think an error status code 4xx (415 Unsupported Media Type ?) would be more appropriate.\r\n"},"comment":{"url":"https://api.github.com/repos/ldidry/lutim/issues/comments/127068529","html_url":"https://github.com/ldidry/lutim/issues/39#issuecomment-127068529","issue_url":"https://api.github.com/repos/ldidry/lutim/issues/39","id":127068529,"user":{"login":"ldidry","id":922350,"avatar_url":"https://avatars.githubusercontent.com/u/922350?v=3","gravatar_id":"","url":"https://api.github.com/users/ldidry","html_url":"https://github.com/ldidry","followers_url":"https://api.github.com/users/ldidry/followers","following_url":"https://api.github.com/users/ldidry/following{/other_user}","gists_url":"https://api.github.com/users/ldidry/gists{/gist_id}","starred_url":"https://api.github.com/users/ldidry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldidry/subscriptions","organizations_url":"https://api.github.com/users/ldidry/orgs","repos_url":"https://api.github.com/users/ldidry/repos","events_url":"https://api.github.com/users/ldidry/events{/privacy}","received_events_url":"https://api.github.com/users/ldidry/received_events","type":"User","site_admin":false},"created_at":"2015-08-02T20:39:04Z","updated_at":"2015-08-02T20:39:04Z","body":"Jquery consider 415 as an error and doesn't allow to display the error messages that Lutim send to explain the failure.\r\n\r\nSorry, I can't do that."}}