Hi all, I'm pleased to announce the 0.5.3 release of clj-http. clj-http is an idiomatic clojure http client wrapping the apache client (like ring in reverse). You should be able to use it from Clojars[1] using leiningen with the following:
[clj-http "0.5.3"] Since I have not announced releases of clj-http since 0.3.2 (I hate writing release emails), here are the new features that have been added since 0.3.2: - add support for :digest-auth (digest-type authentication) - add request timing middleware to add :request-time key in response - send cookie-store cookies with a request automatically - standardize on lower-case headers for HTTP requests (ring-spec) - add chunked encoding support (:length no longer required along with input stream body) - fix clojure 1.3's exception wrapping for some exceptions - support http.nonProxyHosts property - change body decompression to be optional, if desired - add ability to specify a low-level callback for debugging - add ability to specify the keystore type - add ability to add pluggable output coercion (multimethod) - support custom x509 keystore/trust-stores - fixed an issue where multiple link headers would cause an exception to be thrown - add :debug-body that adds plaintext body information to the :debug output - add support for :oauth-token authentication - add ability to save the apache HTTP object when :save-request? is true - support additional options/delete/copy/move/patch HTTP methods - add support for 'Link' header - add ability to specify your own retry-handler for IOExceptions - change wrap-redirects to redirect according to the RFC and add the :force-redirects option to be more browser-like - add support for nested param maps - add support for cookie stores - add utility methods to retrieve cookies as a map from the cookie store - set the default maximum number of redirects to 20 - Cheshire will no longer interfere with clj-json - make Cheshire an optional dependency, only for {:as :json} and json form-params - add status functions into the clj-http.client namespace - add the ability to specify {:as :clojure} to get back a clojure datastructure, or {:as :auto} with content-type=application/clojure - support json-encoded form params - allow :form-params on PUT requests - add the :throw-entire-message? option to include resp in Exception message - add ability to redirect to relative paths And a very large number of bug fixes. Please give it a try and open any issues on the github repo[2] that you find. Check out the readme for the full information and usage and the changelog[3] for a detailed list of changes. thanks, Lee Hinman [1]: http://clojars.org/clj-http [2]: https://github.com/dakrone/clj-http [3]: https://github.com/dakrone/clj-http/blob/master/changelog.org -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en