r/ruby • • Jun 02 '18

Http.rb is Great

https://twin.github.io/httprb-is-great/
135 Upvotes

7 comments sorted by

2

u/ksec Jun 03 '18

Could http.rb be adopted as the default solution instead of Net:Http

3

u/janko-m Jun 03 '18

At this point Net::HTTP is probably here to stay in the Ruby standard library. But I would like to see people reaching more for http.rb.

1

u/ksec Jun 03 '18

I wish they could have included it in standard lib, and recommend using it, and later depreciate Net::HTTP.

2

u/janko-m Jun 03 '18

Yeah, me too. I wish I didn't have to spend all that time figuring out how to make streaming in Down work with Net::HTTP and open-uri, only to realize that there exists a much cleaner and better alternative. I would like to be able to spare other people that step.

1

u/eRetArDeD Jul 12 '18

THANK YOU.

6

u/[deleted] Jun 02 '18

[removed] — view removed comment

4

u/hartator Jun 02 '18

Yeah, seems awesome, first time hearing about it, despite having used every single competitor libs.