Tiny HTTP Client
A really simple http client:
- Get content by url
- Follow redirect like your browser did
- Raise error otherwise
Examples:
html_content = TinyHttpClient.get("http://www.google.com")
add basic auth
html_content = TinyHttpClient.get("http://www.google.com") do |req|
req.basic_auth 'user', 'pass'
end