I've just started learning Clojure and am struggling with the API changes over the past few years. In particular, in 1.2 there was an http-agent function in contrib which allowed for really simple HTTP requests:
(http-agent "http..." :method "POST" :body "foo=1")
This function was removed and it seems that now you should either use clojure.java.io or a 3rd party solution like http-kit or clj-http.
I'm really surprised as java.io seems much lower-level and loses the simplicity or http-agent and making http requests seems like something that should be in the core set of libraries (I realise this is very subjective).
What's the rationale for the removal of http-agent? Did it not fit with a core philosophy of Clojure? And what are recommendations for the best library to use for basic HTTP requests?