{"action":"created","issue":{"url":"https://api.github.com/repos/kevin1024/vcrpy/issues/230","labels_url":"https://api.github.com/repos/kevin1024/vcrpy/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/kevin1024/vcrpy/issues/230/comments","events_url":"https://api.github.com/repos/kevin1024/vcrpy/issues/230/events","html_url":"https://github.com/kevin1024/vcrpy/issues/230","id":119775382,"number":230,"title":"Add decode_compressed_response VCR option","user":{"login":"tobiowo","id":1762224,"avatar_url":"https://avatars.githubusercontent.com/u/1762224?v=3","gravatar_id":"","url":"https://api.github.com/users/tobiowo","html_url":"https://github.com/tobiowo","followers_url":"https://api.github.com/users/tobiowo/followers","following_url":"https://api.github.com/users/tobiowo/following{/other_user}","gists_url":"https://api.github.com/users/tobiowo/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiowo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiowo/subscriptions","organizations_url":"https://api.github.com/users/tobiowo/orgs","repos_url":"https://api.github.com/users/tobiowo/repos","events_url":"https://api.github.com/users/tobiowo/events{/privacy}","received_events_url":"https://api.github.com/users/tobiowo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-01T18:10:30Z","updated_at":"2015-12-01T19:41:20Z","closed_at":null,"body":"The Ruby version of VCR supports a [decode_compressed_response](https://www.relishapp.com/vcr/vcr/v/2-9-3/docs/cassettes/decode-compressed-response) option that decompresses response bodies encoded with gzip or deflate before recording and makes cassettes human-readable/editable. This could be implemented in vcrpy as a before_record_response function using zlib."},"comment":{"url":"https://api.github.com/repos/kevin1024/vcrpy/issues/comments/161073852","html_url":"https://github.com/kevin1024/vcrpy/issues/230#issuecomment-161073852","issue_url":"https://api.github.com/repos/kevin1024/vcrpy/issues/230","id":161073852,"user":{"login":"agriffis","id":50637,"avatar_url":"https://avatars.githubusercontent.com/u/50637?v=3","gravatar_id":"","url":"https://api.github.com/users/agriffis","html_url":"https://github.com/agriffis","followers_url":"https://api.github.com/users/agriffis/followers","following_url":"https://api.github.com/users/agriffis/following{/other_user}","gists_url":"https://api.github.com/users/agriffis/gists{/gist_id}","starred_url":"https://api.github.com/users/agriffis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agriffis/subscriptions","organizations_url":"https://api.github.com/users/agriffis/orgs","repos_url":"https://api.github.com/users/agriffis/repos","events_url":"https://api.github.com/users/agriffis/events{/privacy}","received_events_url":"https://api.github.com/users/agriffis/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T19:41:20Z","updated_at":"2015-12-01T19:41:20Z","body":"I have this in vcrpy-facebook if you'd like to pull from that code. https://github.com/agriffis/vcrpy-facebook/blob/master/vcr_facebook/response.py#L50"}}