Wonder what I've googled more, "cheat net/http" or "cheat minitest"
@raggi confirm, not a fan of either, and I have trouble remembering their APIs
-
-
@bascule I have yet to see a better HTTP API in ruby for error safe code. As soon as the HTTP method is a method, you're fucked. -
@raggi what do you think of my http gem? -
@bascule I prefer OO (you build OO inside request but can't pass in). No keep alive, missing error handling. aPI fine for scripting -
@raggi the error handling is admittedly atrocious at the moment. I used to have a more OO API but got rid of it as it felt schizophrenic -
@bascule I don't need chaining for robust app code. I need to be able to centralize setups and error handling, and overcome remote issues -
@raggi the former can be handled by hanging onto the intermediate object produced by the chain. As for error handling, mea culpa -
@bascule request makes a new socket each time... -
@raggi yeah, no connection pool yet :( it's a bit tricky because I support dependency injectable sockets for Celluloid::IO - 17 more replies
New conversation -
-
-
-
-
-
-
@bascule@raggi assert_equal.#oldschool -
New conversation -
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@bascule I guess my problem is people "fix" the wrong shit.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@bascule now, that's not to say there isn't some crud in there, but request(obj) is valid.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.