No description
cb5de4555d
In the previous commit, if gzip compression was applied to a request input stream, the stream was not automatically closed when the request was complete. The Apache HTTP async library, however, closes an input stream in cases where gzip compression is not being added. In this commit, the original request input stream is closed immediately after attempts to copy the data from it to the downstream gzipped input stream have been completed, for compatibility with the pre-existing Apache HTTP async library behavior. |
||
---|---|---|
dev-resources | ||
doc | ||
ext/travisci | ||
jenkins | ||
locales | ||
src | ||
test | ||
.gitignore | ||
.travis.yml | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
MAINTAINERS | ||
Makefile | ||
project.clj | ||
README.md |
puppetlabs/http-client
This is a wrapper around the Apache HttpAsyncClient library providing some extra functionality for configuring SSL in a way compatible with Puppet.
Installation
Add the following dependency to your project.clj
file:
Details
Async versions of the http methods are exposed in puppetlabs.http.client.async, and synchronous versions are in puppetlabs.http.client.sync. For information on using these namespaces, see the page on making requests with clojure clients.
Additionally, this library allows you to make requests using Java clients. For information on how to do this, see the page on making requests with java clients.
Support
We use the Trapperkeeper project on JIRA for tickets on clj-http-client, although Github issues are welcome too.