RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Using libcurl (curb) instead of Net::HTTP for open-uri

A simple replacement for the stock open-uri library. It’s much faster than the Net::HTTP one, and has more sensible defaults (which, of course, can be changed). Just replace “require ‘open-uri’” with “require ‘curb-openuri’” in order to use it. No code changes should be needed.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in