Created
February 8, 2017 20:25
-
-
Save IanVaughan/2ef15ce3a7842f7c49137064f8bd295e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'net/https' | |
https = Net::HTTP.new('encrypted.google.com', 443) | |
https.use_ssl = true | |
https.verify_mode = OpenSSL::SSL::VERIFY_PEER | |
puts https.request_get('/') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment