Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
August Lilleaas
5 lines (4 sloc) 0.148 kb
# You don't have to use URI.parse
require "net/http"
http = Net::HTTP.new("google.com", 80)
response = http.request(Net::HTTP::Get.new("/foo/bar"))
Jump to Line
Something went wrong with that request. Please try again.