{"action":"created","issue":{"url":"https://api.github.com/repos/whoshuu/cpr/issues/86","repository_url":"https://api.github.com/repos/whoshuu/cpr","labels_url":"https://api.github.com/repos/whoshuu/cpr/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/whoshuu/cpr/issues/86/comments","events_url":"https://api.github.com/repos/whoshuu/cpr/issues/86/events","html_url":"https://github.com/whoshuu/cpr/issues/86","id":140242285,"number":86,"title":"Downloading Binary Data","user":{"login":"typedeph","id":6923930,"avatar_url":"https://avatars.githubusercontent.com/u/6923930?v=3","gravatar_id":"","url":"https://api.github.com/users/typedeph","html_url":"https://github.com/typedeph","followers_url":"https://api.github.com/users/typedeph/followers","following_url":"https://api.github.com/users/typedeph/following{/other_user}","gists_url":"https://api.github.com/users/typedeph/gists{/gist_id}","starred_url":"https://api.github.com/users/typedeph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/typedeph/subscriptions","organizations_url":"https://api.github.com/users/typedeph/orgs","repos_url":"https://api.github.com/users/typedeph/repos","events_url":"https://api.github.com/users/typedeph/events{/privacy}","received_events_url":"https://api.github.com/users/typedeph/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-11T17:22:15Z","updated_at":"2016-03-20T21:26:27Z","closed_at":null,"body":"Does cpr support downloading binary data to a file? For example how would I download the cookie image in the readme: https://assets-cdn.github.com/images/icons/emoji/unicode/1f36a.png using cpr?"},"comment":{"url":"https://api.github.com/repos/whoshuu/cpr/issues/comments/199029015","html_url":"https://github.com/whoshuu/cpr/issues/86#issuecomment-199029015","issue_url":"https://api.github.com/repos/whoshuu/cpr/issues/86","id":199029015,"user":{"login":"whoshuu","id":4143617,"avatar_url":"https://avatars.githubusercontent.com/u/4143617?v=3","gravatar_id":"","url":"https://api.github.com/users/whoshuu","html_url":"https://github.com/whoshuu","followers_url":"https://api.github.com/users/whoshuu/followers","following_url":"https://api.github.com/users/whoshuu/following{/other_user}","gists_url":"https://api.github.com/users/whoshuu/gists{/gist_id}","starred_url":"https://api.github.com/users/whoshuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whoshuu/subscriptions","organizations_url":"https://api.github.com/users/whoshuu/orgs","repos_url":"https://api.github.com/users/whoshuu/repos","events_url":"https://api.github.com/users/whoshuu/events{/privacy}","received_events_url":"https://api.github.com/users/whoshuu/received_events","type":"User","site_admin":false},"created_at":"2016-03-20T21:26:27Z","updated_at":"2016-03-20T21:26:27Z","body":"@axalon900 is right on.\r\n\r\nIt's not beyond the capacity of the library to enable some sort direct write-to-file functionality to avoid having to hold data in memory. It can be something as simple as a wrapper around `std::ofstream` that you put into a request."}}