-
-
Save slingamn/5ae6b972b067d7b81e96 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/requests/models.py b/requests/models.py | |
index 2536c7a..7785c7f 100644 | |
--- a/requests/models.py | |
+++ b/requests/models.py | |
@@ -237,6 +237,7 @@ class Request(object): | |
# Release the connection back into the pool. | |
r.raw.release_conn() | |
+ r.raw = None | |
history.append(r) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment