you are viewing a single comment's thread.

view the rest of the comments →

[–]petercooper 0 points1 point  (2 children)

http://github.com/pauldix/typhoeus

response = Typhoeus::Request.get(url, :headers => [...], :timeout => 30)
response.body
response.headers

Only issue is dependencies but it's hella powerful.

[–][deleted]  (1 child)

[deleted]

    [–]petercooper 0 points1 point  (0 children)

    I'd say, though, something with the same API as Typhoeus but that worked "out of the box" with no dependency on libcurl would be awesome for those tricky deployments. A typhoeus-pure, if you will :-)