No description
Find a file
Jeremy Barlow cb5de4555d (PDB-2640) Close gzip-wrapped body input stream on request completion
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.
2017-02-08 12:29:42 -08:00
dev-resources (SERVER-1556) Add i18n related files 2016-10-17 11:10:06 -07:00
doc (PDB-2640) Add option for gzip compressing a request's body 2017-02-01 14:36:07 -08:00
ext/travisci (MAINT) Improve travisci file 2015-02-12 17:12:05 -08:00
jenkins Fix variable name in deploy script 2014-03-12 13:52:29 -07:00
locales (SERVER-1556) Add i18n related files 2016-10-17 11:10:06 -07:00
src (PDB-2640) Close gzip-wrapped body input stream on request completion 2017-02-08 12:29:42 -08:00
test (PDB-2640) Close gzip-wrapped body input stream on request completion 2017-02-08 12:29:42 -08:00
.gitignore (SERVER-1556) Add i18n related files 2016-10-17 11:10:06 -07:00
.travis.yml (TK-430) Migrate to clj-parent 0.3.3 and bump i18n to 0.6.0 2017-01-31 15:27:22 -08:00
CHANGELOG.md (maint) Prepare release notes and project.clj for 0.7.0 feature release 2016-12-06 13:59:21 -08:00
CONTRIBUTING.md Add CONTRIBUTING.md 2014-04-15 17:04:52 -07:00
LICENSE Add license and readme. 2014-03-11 17:38:13 -07:00
MAINTAINERS remove cprice404 2017-01-24 11:39:44 -08:00
Makefile (SERVER-1556) Add i18n related files 2016-10-17 11:10:06 -07:00
project.clj (PDB-2640) Add option for gzip compressing a request's body 2017-02-01 14:36:07 -08:00
README.md (PE-11025) Add support section to README.md 2015-07-17 11:06:25 -07:00

puppetlabs/http-client

Build Status

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:

Clojars Project

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.