http-kit / http-kit

Simple, high-performance event-driven HTTP client+server for Clojure
https://www.taoensso.com/http-kit
Apache License 2.0
2.44k stars 338 forks source link

Client feature request: large file upload support #202

Open RickMoynihan opened 9 years ago

RickMoynihan commented 9 years ago

The client API appears to build the whole request in memory before sending it to the server.

This prevents using this API to post large files.

See also the corresponding server bug #90

ptaoussanis commented 8 years ago

Update: Mar 2016

Leaving this issue (along with #90) open for now but for anyone who might come across this please note that these are unlikely to be resolved in the near future w/o a specific PR.

To quote @shenfeng: "http-kit is not good at large file download(since it buffer whole response in memory). clj-http is a good alternative and http-kit's client API is modeled after clj-http's. clj-http's response can be a stream."