Permalink
Browse files

Debug output now decodes gzipped response if gzip is used

  • Loading branch information...
1 parent a0fce0c commit 631132d6e19194d4de0f6ec2273aae339b14d1f7 @pietern pietern committed Sep 24, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/contacts/google.rb
View
@@ -301,7 +301,7 @@ def self.inspect_response(response, out = $stderr)
for name, value in response
out.puts "#{name}: #{value}"
end
- out.puts "----\n#{response.body}\n----" unless response.body.empty?
+ out.puts "----\n#{response_body response}\n----" unless response.body.empty?
end
end
end

0 comments on commit 631132d

Please sign in to comment.