Hot answers tagged

2

From this link: Gzip and deflate compression in curb http driver You can set curl.encoding = '' to make curb auto decompress response body. Like below: url_so = "http://api.stackoverflow.com/1.0/users/231917?type=jsontext" curl = Curl::Easy.new(url_so) # enables both deflate and gzip compression of responses curl.encoding = '' curl.perform


Only top voted, non community-wiki answers of a minimum length are eligible