From fec71fd9848b0e92214b0308a2dc23ee575e4c82 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Sun, 8 Nov 2020 23:07:13 +0100 Subject: [PATCH] README [skip ci] --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f0610e8b..9946712f 100644 --- a/README.md +++ b/README.md @@ -869,9 +869,9 @@ For making HTTP requests you can use: ### Choosing the right client If memory usage is a concern and you are downloading big files, choose -`babashka.curl` with `:as :stream` over `org.httpkit.client` since httpkit holds -the entire response in memory at once. Let's download a 200mb file with 10mb -heap size: +`babashka.curl` with `:as :stream` over `org.httpkit.client` since http-kit +holds the entire response in memory at once. Let's download a 200mb file with +10mb heap size: ``` shell $ time bb -Xmx10m -e '(io/copy (:body (curl/get "http://ipv4.download.thinkbroadband.com/200MB.zip" {:as :stream})) (io/file "/tmp/200mb.zip"))'