Permalink
Browse files

Merge pull request #807 from tpodowd/clear_redirect_response

Reset response to None when following a redirect.
  • Loading branch information...
garnaat committed Jun 11, 2012
2 parents f9b2a63 + 29f0f24 commit bc05cb1587657fe27a278f8c08315e2398cbeb41
Showing with 1 addition and 0 deletions.
  1. +1 −0 boto/connection.py
View
@@ -782,6 +782,7 @@ def _mexe(self, request, sender=None, override_num_retries=None,
boto.log.debug(msg)
connection = self.get_http_connection(request.host,
scheme == 'https')
+ response = None
continue
except self.http_exceptions, e:
for unretryable in self.http_unretryable_exceptions:

0 comments on commit bc05cb1

Please sign in to comment.