{"action":"created","issue":{"url":"https://api.github.com/repos/steveklabnik/simple-server/issues/102","repository_url":"https://api.github.com/repos/steveklabnik/simple-server","labels_url":"https://api.github.com/repos/steveklabnik/simple-server/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/steveklabnik/simple-server/issues/102/comments","events_url":"https://api.github.com/repos/steveklabnik/simple-server/issues/102/events","html_url":"https://github.com/steveklabnik/simple-server/issues/102","id":306225722,"number":102,"title":"body() sometimes returns zeroed slice","user":{"login":"Kixunil","id":1178779,"avatar_url":"https://avatars2.githubusercontent.com/u/1178779?v=4","gravatar_id":"","url":"https://api.github.com/users/Kixunil","html_url":"https://github.com/Kixunil","followers_url":"https://api.github.com/users/Kixunil/followers","following_url":"https://api.github.com/users/Kixunil/following{/other_user}","gists_url":"https://api.github.com/users/Kixunil/gists{/gist_id}","starred_url":"https://api.github.com/users/Kixunil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kixunil/subscriptions","organizations_url":"https://api.github.com/users/Kixunil/orgs","repos_url":"https://api.github.com/users/Kixunil/repos","events_url":"https://api.github.com/users/Kixunil/events{/privacy}","received_events_url":"https://api.github.com/users/Kixunil/received_events","type":"User","site_admin":false},"labels":[{"id":639378438,"url":"https://api.github.com/repos/steveklabnik/simple-server/labels/bug","name":"bug","color":"ee0701","default":true},{"id":722617516,"url":"https://api.github.com/repos/steveklabnik/simple-server/labels/needs%20reproduction","name":"needs reproduction","color":"e8ff8e","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-18T09:33:57Z","updated_at":"2018-03-18T13:29:26Z","closed_at":null,"author_association":"NONE","body":"In the handler I have `eprintln!(\"{:?}\", request.body())`. The client sending the request is Chrome using AJAX. I have a button on the page which sends JSON when one clicks it. If I try to click it few times in a row, one of the requests prints out zeroed slice of different length, the rest are correct. I've checked with Wireshark and the request seems correct, so the issue is in `simple-server`."},"comment":{"url":"https://api.github.com/repos/steveklabnik/simple-server/issues/comments/373999256","html_url":"https://github.com/steveklabnik/simple-server/issues/102#issuecomment-373999256","issue_url":"https://api.github.com/repos/steveklabnik/simple-server/issues/102","id":373999256,"user":{"login":"steveklabnik","id":27786,"avatar_url":"https://avatars2.githubusercontent.com/u/27786?v=4","gravatar_id":"","url":"https://api.github.com/users/steveklabnik","html_url":"https://github.com/steveklabnik","followers_url":"https://api.github.com/users/steveklabnik/followers","following_url":"https://api.github.com/users/steveklabnik/following{/other_user}","gists_url":"https://api.github.com/users/steveklabnik/gists{/gist_id}","starred_url":"https://api.github.com/users/steveklabnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveklabnik/subscriptions","organizations_url":"https://api.github.com/users/steveklabnik/orgs","repos_url":"https://api.github.com/users/steveklabnik/repos","events_url":"https://api.github.com/users/steveklabnik/events{/privacy}","received_events_url":"https://api.github.com/users/steveklabnik/received_events","type":"User","site_admin":false},"created_at":"2018-03-18T13:29:26Z","updated_at":"2018-03-18T13:29:26Z","author_association":"OWNER","body":"Idea: is it CORS?\n\n> On Mar 18, 2018, at 2:28 PM, Martin Habovštiak <notifications@github.com> wrote:\n> \n> I've switched to master. Now instead of zeroes, it returns empty slice.\n> \n> —\n> You are receiving this because you commented.\n> Reply to this email directly, view it on GitHub, or mute the thread.\n> \n"}}
{"actor":{"display_login":"steveklabnik"}}