Feb 18

Simple, but nice replacement for open-uri library (which uses rather slow Net::HTTP library) which uses libcurl (via curb).
It’s easy to swap the original one just by replacing ‘require open-uri’ with ‘require curb-openuri’. Should work as the original, even with better defaults (which, of course, can be changed).

http://github.com/romanbsd/curb-openuri/tree

Bookmark and Share

2 Responses to “Using curb with open-uri”

  1. Arya Schellemberg Says:

    I am writing to you because I read your blog and found it extremely interesting and thought you might want to know about us since SortFix can be a very useful tool for you and your readers. SortFix is a new and enterprising company in the Search Engine business. Our aim with Sortfix is to help users get more accurate answers, faster, and make the search process a more efficient and enjoyable one.
    You’re more than welcome to check out our search engine website http://www.sortfix.com and tell me what you think about it.
    We would appreciate the feedback. Thank you very much for your time and interest.

    Reply

  2. wynst Says:

    wow. I just realized this post was from a year ago. Keep on writing, you’ve got lots of interesting hacks :)

    Reply

Leave a Reply

 

March 2010
S M T W T F S
« Feb    
 123456
78910111213
14151617181920
21222324252627
28293031  

Pages