Skip to content

Commit 25c7368

Browse files
committed
Release 0.2.1!
1 parent caf84d6 commit 25c7368

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

Readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ More example requests:
5555

5656
;; If you don't want to follow-redirects automatically:
5757
(client/get "http://site.come/redirects-somewhere" {:follow-redirects false})
58+
59+
;; Send form params as a urlencoded body
60+
(client/post "http//site.com" {:form-params {:foo "bar"}})
5861
```
5962

6063
A more general `request` function is also available, which is useful

changelog.org

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
* Changelog
22
List of changes that have gone into each release
3+
** 0.2.1
4+
- decode cookies from response into :cookies (thanks r0man)
5+
- redone redirects, they can now be toggled with {:follow-redirects
6+
false} in the request
7+
- decompression of responses has been fixed (thanks senior)
8+
- accept Content-Encoding or content-encoding from responses
9+
(thanks senior)
10+
- added ability to specify sending a url-encoded :body of form
11+
params using {:form-params {:key value}} (thanks senior)
312
** 0.2.0
413
- updated dependencies to be the latest versions
514
- added ability to use system proxy for connections (thanks jou4)
@@ -11,6 +20,13 @@
1120
* Work log
1221
Log of merges/issues/work that's gone in so I know what to put in
1322
the changelog for the next release
23+
** 2011-09-23
24+
- merged https://github.com/dakrone/clj-http/pull/7 to accept both
25+
Content-Encoding and content-encoding, since ring uses the
26+
lowercase version
27+
- merged https://github.com/dakrone/clj-http/pull/6 to allow for
28+
sending form params with :form-params as a urlencoded body on
29+
POST requests
1430
** 2011-09-22
1531
- merged https://github.com/dakrone/clj-http/pull/5 to fix
1632
decompression

project.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(defproject clj-http "0.2.1-SNAPSHOT"
1+
(defproject clj-http "0.2.1"
22
:description "A Clojure HTTP library wrapping the Apache HttpComponents client."
33
:dependencies [[org.clojure/clojure "1.2.1"]
44
[org.apache.httpcomponents/httpclient "4.1.2"]

0 commit comments

Comments
 (0)