{"action":"created","issue":{"url":"https://api.github.com/repos/webcompat/webcompat.com/issues/702","labels_url":"https://api.github.com/repos/webcompat/webcompat.com/issues/702/labels{/name}","comments_url":"https://api.github.com/repos/webcompat/webcompat.com/issues/702/comments","events_url":"https://api.github.com/repos/webcompat/webcompat.com/issues/702/events","html_url":"https://github.com/webcompat/webcompat.com/issues/702","id":106097510,"number":702,"title":"Handle 413 Response when trying to upload a very large image","user":{"login":"miketaylr","id":67283,"avatar_url":"https://avatars.githubusercontent.com/u/67283?v=3","gravatar_id":"","url":"https://api.github.com/users/miketaylr","html_url":"https://github.com/miketaylr","followers_url":"https://api.github.com/users/miketaylr/followers","following_url":"https://api.github.com/users/miketaylr/following{/other_user}","gists_url":"https://api.github.com/users/miketaylr/gists{/gist_id}","starred_url":"https://api.github.com/users/miketaylr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miketaylr/subscriptions","organizations_url":"https://api.github.com/users/miketaylr/orgs","repos_url":"https://api.github.com/users/miketaylr/repos","events_url":"https://api.github.com/users/miketaylr/events{/privacy}","received_events_url":"https://api.github.com/users/miketaylr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/webcompat/webcompat.com/labels/ready","name":"ready","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-09-11T21:28:08Z","updated_at":"2015-09-16T07:04:01Z","closed_at":null,"body":"We set the limit at 4MB, and if you try to upload something larger the error is currently swallowed. We should figure out how to send back a JSON error message and consume that in our regular form validation message stuff."},"comment":{"url":"https://api.github.com/repos/webcompat/webcompat.com/issues/comments/140649756","html_url":"https://github.com/webcompat/webcompat.com/issues/702#issuecomment-140649756","issue_url":"https://api.github.com/repos/webcompat/webcompat.com/issues/702","id":140649756,"user":{"login":"karlcow","id":505230,"avatar_url":"https://avatars.githubusercontent.com/u/505230?v=3","gravatar_id":"","url":"https://api.github.com/users/karlcow","html_url":"https://github.com/karlcow","followers_url":"https://api.github.com/users/karlcow/followers","following_url":"https://api.github.com/users/karlcow/following{/other_user}","gists_url":"https://api.github.com/users/karlcow/gists{/gist_id}","starred_url":"https://api.github.com/users/karlcow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlcow/subscriptions","organizations_url":"https://api.github.com/users/karlcow/orgs","repos_url":"https://api.github.com/users/karlcow/repos","events_url":"https://api.github.com/users/karlcow/events{/privacy}","received_events_url":"https://api.github.com/users/karlcow/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T07:04:01Z","updated_at":"2015-09-16T07:04:01Z","body":"Ah ok http://flask.pocoo.org/docs/0.10/patterns/fileuploads/#improving-uploads\r\n\r\nThe request we send: \r\n\r\n``` HTTP\r\nPOST / HTTP/1.1\r\nHost: localhost:5000\r\nUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:43.0) Gecko/20100101 Firefox/43.0\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nAccept-Encoding: gzip, deflate\r\nReferer: http://localhost:5000/\r\nCookie: session=*****\r\nConnection: keep-alive\r\n```\r\n\r\n"}}