{"action":"created","issue":{"url":"https://api.github.com/repos/Runscope/httpbin/issues/201","labels_url":"https://api.github.com/repos/Runscope/httpbin/issues/201/labels{/name}","comments_url":"https://api.github.com/repos/Runscope/httpbin/issues/201/comments","events_url":"https://api.github.com/repos/Runscope/httpbin/issues/201/events","html_url":"https://github.com/Runscope/httpbin/issues/201","id":53273856,"number":201,"title":"Multiple data parts in multipart/form-data result in empty files/forms","user":{"login":"forana","id":757855,"avatar_url":"https://avatars.githubusercontent.com/u/757855?v=3","gravatar_id":"","url":"https://api.github.com/users/forana","html_url":"https://github.com/forana","followers_url":"https://api.github.com/users/forana/followers","following_url":"https://api.github.com/users/forana/following{/other_user}","gists_url":"https://api.github.com/users/forana/gists{/gist_id}","starred_url":"https://api.github.com/users/forana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forana/subscriptions","organizations_url":"https://api.github.com/users/forana/orgs","repos_url":"https://api.github.com/users/forana/repos","events_url":"https://api.github.com/users/forana/events{/privacy}","received_events_url":"https://api.github.com/users/forana/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-02T19:57:14Z","updated_at":"2015-01-02T20:36:30Z","closed_at":null,"body":"A POST body with one data part results in HTTP 200 with the expected contents:\r\n\r\n```\r\n--WjbdC_88SpbXfth8mh7N1d6vHDfUQU\r\nContent-Disposition: form-data; name=\"file\"; filename=\"test1353309547568909113txt\"\r\nContent-Type: application/octet-stream\r\n\r\nThere and Back Again\r\n--WjbdC_88SpbXfth8mh7N1d6vHDfUQU\r\nContent-Disposition: form-data; name=\"x\"\r\n\r\ny\r\n--WjbdC_88SpbXfth8mh7N1d6vHDfUQU\r\nContent-Disposition: form-data; name=\"m1a\"\r\n\r\n1\r\n--WjbdC_88SpbXfth8mh7N1d6vHDfUQU--\r\n```\r\n\r\nresponse:\r\n\r\n```json\r\n  ...\r\n  \"data\": \"\", \r\n  \"files\": {\r\n    \"file\": \"There and Back Again\"\r\n  }, \r\n  \"form\": {\r\n    \"m1a\": \"1\", \r\n    \"x\": \"y\"\r\n  }, \r\n  ...\r\n```\r\n\r\nThe same body (different boundary but correct headers) with two added data parts also results in HTTP 200, but with empty members:\r\n\r\n```\r\n--Xya-QurXmcGYKeT0_-hPkzjeGNbmQbYw1numA\r\nContent-Disposition: form-data; name=\"file\"; filename=\"test6297375454304944471txt\"\r\nContent-Type: application/octet-stream\r\n\r\nThere and Back Again\r\n--Xya-QurXmcGYKeT0_-hPkzjeGNbmQbYw1numA\r\nContent-Disposition: form-data; name=\"bytes\"; filename=\"bytes\"\r\nContent-Type: application/octet-stream\r\n\r\nThe Talos Mistake\r\n--Xya-QurXmcGYKeT0_-hPkzjeGNbmQbYw1numA\r\nContent-Disposition: form-data; name=\"stream\"; filename=\"stream\"\r\nContent-Type: application/octet-stream\r\n\r\nNerevar, Moon and Star\r\n--Xya-QurXmcGYKeT0_-hPkzjeGNbmQbYw1numA\r\nContent-Disposition: form-data; name=\"x\"\r\n\r\ny\r\n--Xya-QurXmcGYKeT0_-hPkzjeGNbmQbYw1numA\r\nContent-Disposition: form-data; name=\"m1a\"\r\n\r\n1\r\n--Xya-QurXmcGYKeT0_-hPkzjeGNbmQbYw1numA--\r\n```\r\n\r\nresponse:\r\n\r\n```json\r\n  ...\r\n  \"data\": \"\", \r\n  \"files\": {}, \r\n  \"form\": {}, \r\n  ...\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Runscope/httpbin/issues/comments/68560003","html_url":"https://github.com/Runscope/httpbin/issues/201#issuecomment-68560003","issue_url":"https://api.github.com/repos/Runscope/httpbin/issues/201","id":68560003,"user":{"login":"forana","id":757855,"avatar_url":"https://avatars.githubusercontent.com/u/757855?v=3","gravatar_id":"","url":"https://api.github.com/users/forana","html_url":"https://github.com/forana","followers_url":"https://api.github.com/users/forana/followers","following_url":"https://api.github.com/users/forana/following{/other_user}","gists_url":"https://api.github.com/users/forana/gists{/gist_id}","starred_url":"https://api.github.com/users/forana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forana/subscriptions","organizations_url":"https://api.github.com/users/forana/orgs","repos_url":"https://api.github.com/users/forana/repos","events_url":"https://api.github.com/users/forana/events{/privacy}","received_events_url":"https://api.github.com/users/forana/received_events","type":"User","site_admin":false},"created_at":"2015-01-02T20:36:30Z","updated_at":"2015-01-02T20:36:30Z","body":"Updated to have a correct multiple-data request (my bad) - the issue still occurs, however."}}