diff options
Diffstat (limited to 'cdsapi/api.py')
-rw-r--r-- | cdsapi/api.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cdsapi/api.py b/cdsapi/api.py index c942612..662dec9 100644 --- a/cdsapi/api.py +++ b/cdsapi/api.py @@ -104,11 +104,6 @@ class Result(object): self.content_type, self.location) - def __enter__(self): - - r = self.robust(requests.get)(self.location, stream=True, verify=self.verify) - r.raise_for_status() - def check(self): self.debug("HEAD %s", self.reply['location']) metadata = self.robust(self.session.head)(self.reply['location'], |