Commit graph

329 commits

Author SHA1 Message Date
Scott Walker
a5ed1d0bf8 Move unbuffered stream Clojure tests into a separate namespace 2016-01-11 07:57:12 +00:00
Jenkins CI
e431b5036f Version 0.4.7-SNAPSHOT 2016-01-09 16:42:34 -08:00
Jenkins CI
2b7af91c24 Version 0.4.6 2016-01-09 16:42:27 -08:00
Chris Price
840edf62be Merge pull request #44 from cprice404/maint/master/update-changelog-for-0.4.6-release
(MAINT) Update CHANGELOG for 0.4.6 release
2016-01-09 16:35:33 -08:00
Chris Price
876fd1c163 (MAINT) Update CHANGELOG for 0.4.6 release 2016-01-09 16:32:49 -08:00
Jeremy Barlow
06910455a5 Merge pull request #43 from cprice404/maint/master/update-to-httpasyncclient-4.1.1
(TK-303) Update to latest apache httpasyncclient
2016-01-07 10:28:23 -08:00
Chris Price
e7c9d22aa4 (MAINT) Update to latest apache httpasyncclient
This commit updates us to the latest version of the Apache
HTTPAsyncClient.  This is necessary in order to make it
possible to use this library in the same VM as the latest
version of clj-http, because they have some common dependencies.

The commit also cleans up some other dependencies while I was
in there.
2015-12-18 12:21:27 -08:00
Jenkins CI
7c4f95ddfd Version 0.4.6-SNAPSHOT 2015-10-13 07:13:14 -07:00
Jenkins CI
3a1aec68c7 Version 0.4.5 2015-10-13 07:13:06 -07:00
David McCauley
d72f8393a5 Merge pull request #42 from scottyw/clojure-unbuffered-stream
(PE-11976) Add option to return response early and stream body asynchronously
2015-10-13 15:04:57 +01:00
Scott Walker
fbab9a37bc Rework tests for improved clarity and AsyncConsumer releaseResources() fix 2015-10-13 12:09:50 +01:00
Scott Walker
e20d5cf7e3 Update docs 2015-10-12 19:15:26 +01:00
Scott Walker
862090251c Incorporate comments from camlow325
- Fixes to ExceptionInsertingPipedInputStream
- Fix to async consumer and removal of decompression code
- Use ResponseContentEncoding to do all decompression including removing previous approach
- Clarify tests and add ConnectionException
2015-10-07 17:45:18 +01:00
Scott Walker
ca5ad63179 (PE-11976) Add option to return the response early and stream the body asynchronously
Adds a new :as option that uses Apache's AsyncConsumer to return the response as quickly as possible then asynchronously stream the response body using piped input/output streams.
2015-10-05 15:38:30 +01:00
Preben Ingvaldsen
99f9b840af Merge pull request #41 from camlow325/maint/master/PE-11025-add-support-section-to-readme
(PE-11025) Add support section to README.md
2015-07-20 10:26:40 -07:00
Jeremy Barlow
91475cc71a (PE-11025) Add support section to README.md
This commit adds a support section to the README.md.
2015-07-17 11:06:25 -07:00
Jeremy Barlow
146d2fb4bc Merge pull request #40 from jpinsonault/tk-182-illegal-arg-exception-on-204-response
(TK-182) Illegal argument exception on 204 response
2015-04-24 12:07:02 -07:00
Joe Pinsonault
c5489e0e43 (MAINT) Added fix/test for java coerceBodyType 2015-04-24 10:17:30 -07:00
Joe Pinsonault
08ca923e69 (MAINT) nil body is coerced into empty string 2015-04-24 10:17:05 -07:00
Joe Pinsonault
c906d5abd0 (TK-182) coerce-body-type handles nil body 2015-04-24 10:05:29 -07:00
Chris Price
b68dda3ae2 (MAINT) Update CHANGELOG for 0.4.4 release 2015-04-15 15:44:55 +01:00
Jenkins CI
8a03faacd6 Version 0.4.5-SNAPSHOT 2015-04-15 07:33:01 -07:00
Jenkins CI
52a4fc7be4 Version 0.4.4 2015-04-15 07:32:57 -07:00
Chris Price
4af8813899 Merge pull request #39 from dparis/fix/master/update-prismatic-deps
(TK-196) Update prismatic library dependencies
2015-04-15 15:21:39 +01:00
Dylan Paris
a75a9eea4b (TK-196) Update prismatic library dependencies
The prismatic/plumbing and prismatic/schema library dependencies are
lagging behind the latest stable version. This will increasingly
cause conflicts in trapperkeeper projects. This patch updates the
dependencies and fixes several functions which were validating against
schemas incompatible with the new versions.

* Update project.clj dependencies
* Use protocol schema instead of the protocol object directly
2015-04-09 15:03:57 -07:00
Jenkins CI
b21b595aee Version 0.4.4-SNAPSHOT 2015-03-20 12:43:09 -07:00
Jenkins CI
964ba2d9c2 Version 0.4.3 2015-03-20 12:43:05 -07:00
Justin May
587318d8d9 Merge pull request #38 from camlow325/maint/master/clj-http-client-0.4.3-release
(MAINT) Updated CHANGELOG.md for clj-http-client 0.4.3 release
2015-03-20 11:25:56 -07:00
Jeremy Barlow
15b5e532e9 (MAINT) Updated CHANGELOG.md for clj-http-client 0.4.3 release
This commit updates the CHANGELOG.md for the clj-http-client 0.4.3
release.
2015-03-20 11:22:12 -07:00
Justin May
b04c03334f Merge pull request #37 from camlow325/maint/master/fixup-timeout-test-names
(MAINT) Fix timeout test names and testing strings
2015-03-20 10:52:21 -07:00
Jeremy Barlow
a4c8994189 (MAINT) Fix timeout test names and testing strings
This commit has a couple of cosmetic fixes to the names and testing
strings for a few tests introduced by TK-134.
2015-03-19 21:25:55 -07:00
Justin May
c60f816d3c Merge pull request #36 from camlow325/feature/master/TK-134-connection-timeouts
(TK-134) Add connect and socket timeout client configuration
2015-03-19 11:10:26 -07:00
Jeremy Barlow
6520abfb1d (TK-134) Updated connection tests to handle Connect or SocketTimeout
This commit updates the short connect timeout tests to tolerate either a
ConnectException or SocketTimeoutException as a success condition.
Connections could fail with either exception depending upon timing or
network setup.
2015-03-16 22:46:07 -07:00
Jeremy Barlow
9b55ed31b6 (TK-134) Add connect and socket timeout client configuration
This commit enables http clients to optionally configure a connect
and/or socket timeout for requests.  For persistent clients, the
timeout values can only be configured at the client and not a
per-request level.  Non-persistent client requests support the
configuration of these timeouts.

This commit also bumps a few dependencies - tk-jetty9 to 1.2.0,
trapperkeeper to 1.10, ssl-utils to 0.8.0, and clojure to 1.6.0 -
and adds the 'test' tk-jetty9 library as a dev dependency for
testing.
2015-03-16 12:22:35 -07:00
Kevin Corcoran
b90dec2f22 update CHANGELOG.md with 0.4.2 release notes 2015-02-13 15:47:35 -08:00
Jenkins CI
09dd79741a lein-release plugin: bumped version from 0.4.2 to 0.4.3-SNAPSHOT for next development cycle 2015-02-13 15:32:02 -08:00
Jenkins CI
0cfa80ba64 lein-release plugin: preparing 0.4.2 release 2015-02-13 15:31:41 -08:00
Jeremy Barlow
d6be7d1d86 Merge pull request #34 from KevinCorcoran/fix-charset
(TK-145) fix application of default charset
2015-02-13 12:25:24 -08:00
Kevin Corcoran
95a88286ce (TK-145) fix default charset in Java client
Fix a bug in which a default charset of UTF-8 would be added to the
Content-Type header for certain requests.  This change restricts that
behavior to cases in which the body is a string and there is no charset
provided by the caller.
2015-02-13 11:32:04 -08:00
Kevin Corcoran
2967c63473 (maint) add pom.xml to .gitignore
pom.xml is generated during 'lein install'.
2015-02-13 10:53:12 -08:00
Kevin Corcoran
583b71a556 (TK-145) fix application of default charset
Fix a bug in which a default charset of UTF-8 would be added to the
Content-Type header for certain requests.  This change restricts that
behavior to cases in which the body is a string and there is no charset
provided by the caller.
2015-02-13 10:53:12 -08:00
Kevin Corcoran
ad93e3822f (maint) nothing to see here, move along.
* add an exclusion on a dev dependency in project.clj to make Cursive
  happy.
* clean up imports
2015-02-13 10:53:11 -08:00
Chris Price
86edcfb993 Merge pull request #35 from nwolfe/bug/master/tk143-allow-sslv3-in-tests
(TK-143) Allow SSLv3 in tests
2015-02-13 08:59:38 -08:00
Nate Wolfe
c45d4471a9 (MAINT) Improve travisci file
Add the :all test selector and set -e because they won't hurt, and we
were bit by the lack of these in other projects recently.
2015-02-12 17:12:05 -08:00
Nate Wolfe
60030a3b30 (TK-143) Allow SSLv3 during unit tests
This commit enables all algorithms (by disabling none) during unit
testing so that our SSLv3 unit tests can work properly.
2015-02-12 17:05:06 -08:00
Preben Ingvaldsen
bb68868a12 Merge pull request #32 from KevinCorcoran/add-clojars-badge
(maint) add Clojars badge to README - closes #31
2015-02-10 16:21:40 -08:00
Kevin Corcoran
f9384622e4 (maint) add Clojars badge to README - closes #31 2015-02-09 13:29:25 -08:00
Jenkins CI
f9d6f8b200 lein-release plugin: bumped version from 0.4.1 to 0.4.2-SNAPSHOT for next development cycle 2015-01-26 10:56:40 -08:00
Jenkins CI
afb46fb72e lein-release plugin: preparing 0.4.1 release 2015-01-26 10:56:19 -08:00
Jeremy Barlow
84c99b052e Merge pull request #30 from nwolfe/update-changelog
(MAINT) Update CHANGELOG for 0.4.1 release
2015-01-26 10:50:05 -08:00