{"action":"created","issue":{"url":"https://api.github.com/repos/square/retrofit/issues/787","labels_url":"https://api.github.com/repos/square/retrofit/issues/787/labels{/name}","comments_url":"https://api.github.com/repos/square/retrofit/issues/787/comments","events_url":"https://api.github.com/repos/square/retrofit/issues/787/events","html_url":"https://github.com/square/retrofit/issues/787","id":62979054,"number":787,"title":"Allow to specify filename as optional parameter to TypedByteArray","user":{"login":"jonnor","id":45185,"avatar_url":"https://avatars.githubusercontent.com/u/45185?v=3","gravatar_id":"","url":"https://api.github.com/users/jonnor","html_url":"https://github.com/jonnor","followers_url":"https://api.github.com/users/jonnor/followers","following_url":"https://api.github.com/users/jonnor/following{/other_user}","gists_url":"https://api.github.com/users/jonnor/gists{/gist_id}","starred_url":"https://api.github.com/users/jonnor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonnor/subscriptions","organizations_url":"https://api.github.com/users/jonnor/orgs","repos_url":"https://api.github.com/users/jonnor/repos","events_url":"https://api.github.com/users/jonnor/events{/privacy}","received_events_url":"https://api.github.com/users/jonnor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-19T13:04:51Z","updated_at":"2015-06-15T16:14:50Z","closed_at":null,"body":"I would expect to be able to use `new TypedByteArray(type, bytes, \"myfilename.foo\")` to upload a file multi-part using RetroFit from an in-memory file instead of a `File` object.\r\n\r\nRight now one needs to subclass using work-around described here: https://github.com/square/retrofit/issues/178#issuecomment-34470409\r\n"},"comment":{"url":"https://api.github.com/repos/square/retrofit/issues/comments/112124240","html_url":"https://github.com/square/retrofit/issues/787#issuecomment-112124240","issue_url":"https://api.github.com/repos/square/retrofit/issues/787","id":112124240,"user":{"login":"achuinard","id":469647,"avatar_url":"https://avatars.githubusercontent.com/u/469647?v=3","gravatar_id":"","url":"https://api.github.com/users/achuinard","html_url":"https://github.com/achuinard","followers_url":"https://api.github.com/users/achuinard/followers","following_url":"https://api.github.com/users/achuinard/following{/other_user}","gists_url":"https://api.github.com/users/achuinard/gists{/gist_id}","starred_url":"https://api.github.com/users/achuinard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achuinard/subscriptions","organizations_url":"https://api.github.com/users/achuinard/orgs","repos_url":"https://api.github.com/users/achuinard/repos","events_url":"https://api.github.com/users/achuinard/events{/privacy}","received_events_url":"https://api.github.com/users/achuinard/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T16:14:50Z","updated_at":"2015-06-15T16:14:50Z","body":"Yea, I never understood why you couldn't use a TypedByteArray in a multipart file upload. Had the API allowed it, probably would have just figured it out. I'm now using the subclass hack."}}