Skip to content

Commit ce38cab

Browse files
committed
update readme; document known issues
1 parent 525216a commit ce38cab

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

Readme.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# `clj-http-lite`
22

3-
A Clojure HTTP library similar to
4-
[clj-http](http://github.com/dakrone/clj-http), but more lightweight.
3+
A Clojure HTTP library similar to [clj-http](http://github.com/dakrone/clj-http), but more lightweight.
54

65
> This is a somewhat maintained fork of the original [`hiredman/clj-http-lite`](https://github.com/hiredman/clj-http-lite) repo.
76
7+
[Installation](#installation) | [Usage](#usage) | [Known Issues](#known-issues) | [Design](#design) | [Development](#development)
8+
89
## Installation
910

1011
`clj-http-lite` is available as a Maven artifact from [Clojars](http://clojars.org/clj-http-lite):
@@ -192,6 +193,15 @@ If you need to fake clj-http responses (for things like testing and
192193
such), check out the
193194
[clj-http-fake](https://github.com/myfreeweb/clj-http-fake) library.
194195

196+
## Known Issues
197+
198+
- Nested form params [aren't serialized correctly](https://github.com/hiredman/clj-http-lite/issues/15). There's an easy workaround however:
199+
200+
```clojure
201+
:form-params {"toplevel" {"nested" some-data}} ; doesn't work
202+
:form-params {"toplevel[nested]" some-data} ; works
203+
```
204+
195205
## Design
196206

197207
The design of `clj-http` is inspired by the

0 commit comments

Comments
 (0)