Skip to content

Commit

Permalink
Merge pull request #80 from rchekaluk/master
Browse files Browse the repository at this point in the history
Ensure POST response is not decompressed under Ruby 2.0
  • Loading branch information
tc committed May 26, 2014
2 parents 5e5080e + 8ce346f commit edb3384
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/paypal_adaptive/request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ def initialize(env = nil)
config = PaypalAdaptive.config(env)
@api_base_url = config.api_base_url
@headers = config.headers
@headers['Accept-Encoding'] = 'identity'
@ssl_cert_path = config.ssl_cert_path
@ssl_cert_file = config.ssl_cert_file
@api_cert_file = config.api_cert_file
Expand Down

0 comments on commit edb3384

Please sign in to comment.