{"action":"created","issue":{"url":"https://api.github.com/repos/scalaj/scalaj-http/issues/42","labels_url":"https://api.github.com/repos/scalaj/scalaj-http/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/scalaj/scalaj-http/issues/42/comments","events_url":"https://api.github.com/repos/scalaj/scalaj-http/issues/42/events","html_url":"https://github.com/scalaj/scalaj-http/issues/42","id":30441855,"number":42,"title":"Multipart is missing the dataparts","user":{"login":"pligor","id":1448173,"avatar_url":"https://avatars.githubusercontent.com/u/1448173?v=3","gravatar_id":"","url":"https://api.github.com/users/pligor","html_url":"https://github.com/pligor","followers_url":"https://api.github.com/users/pligor/followers","following_url":"https://api.github.com/users/pligor/following{/other_user}","gists_url":"https://api.github.com/users/pligor/gists{/gist_id}","starred_url":"https://api.github.com/users/pligor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pligor/subscriptions","organizations_url":"https://api.github.com/users/pligor/orgs","repos_url":"https://api.github.com/users/pligor/repos","events_url":"https://api.github.com/users/pligor/events{/privacy}","received_events_url":"https://api.github.com/users/pligor/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-03-29T11:06:23Z","updated_at":"2015-02-18T00:47:41Z","closed_at":"2014-03-30T21:50:20Z","body":"How could someone implement the data parts of a multipart ?\r\n\r\nThese are a seperate section from files.\r\n\r\nFor example my web service framework is using a method like `multipartBody.dataParts(\"some key in here\")` to get data parts and `multipartBody.file(\"filename\")` to get files.\r\n\r\nTo make more clear what I am talking about I will note this from official specificaiton: A form data part of a multipart looks like that at the end (if boundary is *****):\r\n```\r\n--*****\r\nContent-Disposition: form-data; name=\"some name\"\\n\r\n\\n\r\nvalue here\\n\r\n\\n\r\n```"},"comment":{"url":"https://api.github.com/repos/scalaj/scalaj-http/issues/comments/74788686","html_url":"https://github.com/scalaj/scalaj-http/issues/42#issuecomment-74788686","issue_url":"https://api.github.com/repos/scalaj/scalaj-http/issues/42","id":74788686,"user":{"login":"alpeb","id":554287,"avatar_url":"https://avatars.githubusercontent.com/u/554287?v=3","gravatar_id":"","url":"https://api.github.com/users/alpeb","html_url":"https://github.com/alpeb","followers_url":"https://api.github.com/users/alpeb/followers","following_url":"https://api.github.com/users/alpeb/following{/other_user}","gists_url":"https://api.github.com/users/alpeb/gists{/gist_id}","starred_url":"https://api.github.com/users/alpeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alpeb/subscriptions","organizations_url":"https://api.github.com/users/alpeb/orgs","repos_url":"https://api.github.com/users/alpeb/repos","events_url":"https://api.github.com/users/alpeb/events{/privacy}","received_events_url":"https://api.github.com/users/alpeb/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T00:47:41Z","updated_at":"2015-02-18T00:47:41Z","body":"Seems like I can't use `postData` and `multipart` together (I'm trying to send a json payload along with a file) :-("}}