From 6c801a50a4037a6a87adc021dffa0e99b3921e8f Mon Sep 17 00:00:00 2001 From: Adam Coddington Date: Sat, 18 May 2013 22:50:17 -0700 Subject: [PATCH] Correcting documentation; to access the raw response object, you must use 'raw'. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cac6ebe..5ba017e 100644 --- a/README.md +++ b/README.md @@ -169,5 +169,5 @@ Or, if you're downloading a particularly large file, you may want to use the `st ```python >>> download = api.files['com~apple~Notes']['Documents']['big_file.zip'].open(stream=True) >>> with open('downloaded_file.zip', 'wb') as opened_file: - opened_file.write(download.read()) + opened_file.write(download.raw.read()) ```