lib/dbox/api.rb in dbox-0.7.4 vs lib/dbox/api.rb in dbox-0.7.5

- old
+ new

@@ -210,10 +210,10 @@ def streaming_download(url, io, num_redirects = 0) url = URI.parse(url) http = Net::HTTP.new(url.host, url.port) http.use_ssl = true - http.verify_mode = OpenSSL::SSL::VERIFY_PEER + http.verify_mode = OpenSSL::SSL::VERIFY_NONE http.ca_file = Dropbox::TRUSTED_CERT_FILE req = Net::HTTP::Get.new(url.request_uri) req["User-Agent"] = "OfficialDropboxRubySDK/#{Dropbox::SDK_VERSION}"