Tiny HTTP Client
A really simple http client, get content by url:
html_content = TinyHttpClient.get("http://www.google.com")or, add basic auth
html_content = TinyHttpClient.get("http://www.google.com") do |req|
req.basic_auth 'user', 'pass'
endYou'll get error when the response is not Net::HTTPSuccess.