Convenience method to do HTTP GET with custom headers.
Convenience method to do HTTP GET with custom headers
19 20 21 22 23
# File 'lib/wdd-ruby-ext/http.rb', line 19 def HTTP.get_with_headers(host, port, path, headers) start(host, port) do |http| return http.get(path, headers) end end