This could be condensed to a simple `if` statement given it only has a single case and default.

```ruby
if response.env[:response_headers]['content-type'] =~ /gzip/
  response.body
else
  MultiJson.load(response.body)
end
```