Permalink
Browse files

Merge branch 'curb_gzip_compression' of https://github.com/codesnik/h…

…andsoap into codesnik-curb_gzip_compression
  • Loading branch information...
2 parents 48d2ef5 + 1341d75 commit 7e3f9bfac686a618dd81990d6cb0fe199761d28a @troelskn troelskn committed May 21, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/handsoap/http/drivers/curb_driver.rb
@@ -22,6 +22,9 @@ def get_curl(url)
@curl = ::Curl::Easy.new(url)
@curl.timeout = Handsoap.timeout
@curl.enable_cookies = @enable_cookies
+
+ # enables both deflate and gzip compression of responses
+ @curl.encoding = ''
if Handsoap.follow_redirects?
@curl.follow_location = true

0 comments on commit 7e3f9bf

Please sign in to comment.