Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

testing ssl ruby 1.9.3

View test.rb
1 2 3 4 5 6 7 8 9 10 11 12
require "net/https"
require "uri"
 
uri = URI.parse("https://raw.github.com/gist/3778049/6a066850b48e632a49a6e448b1591f6966160a88/dailymotion-sdk-objc.podspec")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
 
request = Net::HTTP::Get.new(uri.request_uri)
 
response = http.request(request)
puts response.body
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.