1
0
Fork 0
mirror of https://github.com/rest-client/rest-client.git synced 2022-11-09 13:49:40 -05:00

fixed identation in README

This commit is contained in:
Julien Kirch 2009-12-20 15:19:16 +01:00
parent d840dc19ca
commit 03431c4d03

View file

@ -31,11 +31,11 @@ If you are sending params that do not contain a File object but the payload need
== Streaming downloads
RestClient.get('http://some/resource/lotsofdata') do |res|
res.read_body do |chunk|
.. do something with chunk ..
RestClient.get('http://some/resource/lotsofdata') do |res|
res.read_body do |chunk|
.. do something with chunk ..
end
end
end
See RestClient module docs for more details.