{"action":"created","issue":{"url":"https://api.github.com/repos/gfredericks/vcr-clj/issues/9","labels_url":"https://api.github.com/repos/gfredericks/vcr-clj/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/gfredericks/vcr-clj/issues/9/comments","events_url":"https://api.github.com/repos/gfredericks/vcr-clj/issues/9/events","html_url":"https://github.com/gfredericks/vcr-clj/pull/9","id":121669644,"number":9,"title":"Added check for edge case where byte string is empty.","user":{"login":"sbreatnach","id":5629491,"avatar_url":"https://avatars.githubusercontent.com/u/5629491?v=3","gravatar_id":"","url":"https://api.github.com/users/sbreatnach","html_url":"https://github.com/sbreatnach","followers_url":"https://api.github.com/users/sbreatnach/followers","following_url":"https://api.github.com/users/sbreatnach/following{/other_user}","gists_url":"https://api.github.com/users/sbreatnach/gists{/gist_id}","starred_url":"https://api.github.com/users/sbreatnach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbreatnach/subscriptions","organizations_url":"https://api.github.com/users/sbreatnach/orgs","repos_url":"https://api.github.com/users/sbreatnach/repos","events_url":"https://api.github.com/users/sbreatnach/events{/privacy}","received_events_url":"https://api.github.com/users/sbreatnach/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-11T09:26:42Z","updated_at":"2015-12-14T02:17:06Z","closed_at":"2015-12-14T02:15:54Z","pull_request":{"url":"https://api.github.com/repos/gfredericks/vcr-clj/pulls/9","html_url":"https://github.com/gfredericks/vcr-clj/pull/9","diff_url":"https://github.com/gfredericks/vcr-clj/pull/9.diff","patch_url":"https://github.com/gfredericks/vcr-clj/pull/9.patch"},"body":"This was an edge case I came across while testing DELETE calls - if the recorded response body is empty, an exception is thrown because it's decoding an invalid base64 string.\r\nThere are a couple of different ways to fix this, but I went for the simplest: an empty check in str->bytes."},"comment":{"url":"https://api.github.com/repos/gfredericks/vcr-clj/issues/comments/164324173","html_url":"https://github.com/gfredericks/vcr-clj/pull/9#issuecomment-164324173","issue_url":"https://api.github.com/repos/gfredericks/vcr-clj/issues/9","id":164324173,"user":{"login":"gfredericks","id":135443,"avatar_url":"https://avatars.githubusercontent.com/u/135443?v=3","gravatar_id":"","url":"https://api.github.com/users/gfredericks","html_url":"https://github.com/gfredericks","followers_url":"https://api.github.com/users/gfredericks/followers","following_url":"https://api.github.com/users/gfredericks/following{/other_user}","gists_url":"https://api.github.com/users/gfredericks/gists{/gist_id}","starred_url":"https://api.github.com/users/gfredericks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfredericks/subscriptions","organizations_url":"https://api.github.com/users/gfredericks/orgs","repos_url":"https://api.github.com/users/gfredericks/repos","events_url":"https://api.github.com/users/gfredericks/events{/privacy}","received_events_url":"https://api.github.com/users/gfredericks/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T02:17:06Z","updated_at":"2015-12-14T02:17:06Z","body":"Gotcha -- I had forgotten we handled both byte arrays and input streams.\r\n\r\nThanks! I just released this as `0.4.6`."}}