Skip to content
Myr

Merge pull request #3462 from sigmavirus24/bug/3461

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Close and then release the connection

authored by Cory Benfield · committed by GitHub · parents f40764c, c69e3ee · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:requests/models.py+1 added-1 removed
866 unmodified lines
867868 *Note: Should not normally need to be called explicitly.*869 """870 if not self._content_consumed:871 return self.raw.close()871 self.raw.close()872873 return self.raw.release_conn()