Wonder what I've googled more, "cheat net/http" or "cheat minitest"
-
-
@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 -
@bascule its fair, but its a scripting oriented API IMO :-) -
@raggi I think if I shored up the actual implementation it'd be fine. Plus it uses the Node.js parser so it's roflscale - 15 more replies
New conversation -
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.