From f6bfd53a9e634f12f5c046afe511c27c10366adb Mon Sep 17 00:00:00 2001 From: Avi Deitcher Date: Thu, 19 May 2016 13:19:21 +0300 Subject: [PATCH] Fix typo blok_response Thanks to @akostadinov for finding it. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5535ce3..86a49a2 100644 --- a/README.md +++ b/README.md @@ -271,7 +271,7 @@ Normally, when you use `RestClient.get` or the lower level `RestClient::Request. However, if you are retrieving a large amount of data, for example a Docker image, an iso or any other large file, you may want to stream the response directly to disk rather than loading it in memory. If you have a very large file, it may become *impossible* to load it into memory. -If you want to stream the data from the `GET` to a file as it comes, rather than entirely in memory, you must pass `RestClient::Request.execute` a parameter `blok_response` to which you pass a `block` that streams the request. That block, in turn, will receive the response and the ability to stream directly to file as each chunk comes across. +If you want to stream the data from the `GET` to a file as it comes, rather than entirely in memory, you must pass `RestClient::Request.execute` a parameter `block_response` to which you pass a `block` that streams the request. That block, in turn, will receive the response and the ability to stream directly to file as each chunk comes across. The following is an example: