Skip to content

Instantly share code, notes, and snippets.

@jkutner
Last active May 10, 2016 17:20
Show Gist options
  • Save jkutner/4ac3829ae510d32c5867bf401ca30510 to your computer and use it in GitHub Desktop.
Save jkutner/4ac3829ae510d32c5867bf401ca30510 to your computer and use it in GitHub Desktop.
require 'net/http'
uri = URI.parse("https://www.ncdc.noaa.gov/cdo-web/")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
http.ciphers=["ECDHE+RSA+AES128+SHA256"]
http.get(uri.request_uri)
require 'net/http'
uri = URI.parse("https://www.ncdc.noaa.gov/cdo-web/")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
http.get(uri.request_uri)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment