fork download
  1. @curl_settings = Proc.new do |curl|
  2. curl.headers['Accept'] = 'application/json'
  3. curl.headers['Content-Type'] = 'application/json'
  4. curl.ssl_verify_peer= false
  5. curl.http_auth_types = [ :gssnegotiate ]
  6. curl.username = ":"
  7. curl.verbose = true
  8. curl.setopt(Curl::CURLOPT_GSSAPI_DELEGATION, Curl::CURLGSSAPI_DELEGATION_FLAG)
  9. end
  10.  
  11. http = Curl::Easy.http_get "#{baseurl}", &@curl_settings
  12.  
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty