Commit 491d3cee authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

oops. forgot about params

parent 20c237ed
......@@ -36,7 +36,7 @@ class GitlabNet
url = URI.parse(url)
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = (url.port == 443)
request = Net::HTTP::Get.new(url.path)
request = Net::HTTP::Get.new(url.request_uri)
http.start {|http| http.request(request) }
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment