Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
Merge branch 'curb_gzip_compression' of https://github.com/codesnik/h…
Browse files Browse the repository at this point in the history
…andsoap into codesnik-curb_gzip_compression
  • Loading branch information
troelskn committed May 21, 2012
2 parents 48d2ef5 + 1341d75 commit 7e3f9bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/handsoap/http/drivers/curb_driver.rb
Expand Up @@ -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
Expand Down

0 comments on commit 7e3f9bf

Please sign in to comment.