Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (8 sloc) 0.342 kb
require 'httpclient'
c =
c.debug_dev = STDOUT
# for Proxy authentication: supports Basic, Negotiate and NTLM.
#c.set_proxy_auth("admin", "admin")
# for WWW authentication: supports Basic, Digest and Negotiate.
c.set_auth("", "user", "user")
p c.get("")
Jump to Line
Something went wrong with that request. Please try again.