Skip to content

Instantly share code, notes, and snippets.

@tbuehlmann
Created December 17, 2013 21:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbuehlmann/8012782 to your computer and use it in GitHub Desktop.
Save tbuehlmann/8012782 to your computer and use it in GitHub Desktop.
connection = Net::HTTP::Persistent.new('foo', :ENV)
uri = URI.parse('http://google.de')
connection.request(uri) # => #<Net::HTTPProxyAuthenticationRequired 407 Proxy Authentication Required readbody=true>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment