From 81311c56965bd989fa11fa24bb5ef736da974b0e Mon Sep 17 00:00:00 2001 From: akharit <38331238+akharit@users.noreply.github.com> Date: Wed, 14 Nov 2018 18:11:05 -0800 Subject: [PATCH] Merge to master for version 0.0.39 (#262) * Fix for Chunked Decoding exception thrown while reading response.content (#261) * Updated history.rst and version --- HISTORY.rst | 4 ++++ azure/datalake/store/__init__.py | 2 +- azure/datalake/store/lib.py | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index 719cb23..a8f4b97 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,6 +3,10 @@ Release History =============== +0.0.39 (2018-11-14) ++++++++++++++++++++ +* Fix for Chunked Decoding exception thrown while reading response.content + 0.0.38 (2018-11-12) +++++++++++++++++++ * Added support for recursive acl functions diff --git a/azure/datalake/store/__init__.py b/azure/datalake/store/__init__.py index 23dce3c..99062ef 100644 --- a/azure/datalake/store/__init__.py +++ b/azure/datalake/store/__init__.py @@ -6,7 +6,7 @@ # license information. # -------------------------------------------------------------------------- -__version__ = "0.0.38" +__version__ = "0.0.39" from .core import AzureDLFileSystem diff --git a/azure/datalake/store/lib.py b/azure/datalake/store/lib.py index ebc7f01..301151d 100644 --- a/azure/datalake/store/lib.py +++ b/azure/datalake/store/lib.py @@ -414,6 +414,8 @@ def call(self, op, path='', is_extended=False, expected_error_code=None, retry_p path=path, headers=headers, **kwargs) + # Trigger download here so any errors can be retried. response.content is cached for future use. + temp_download = response.content except requests.exceptions.RequestException as e: last_exception = e response = None