Skip to content
Myr

propagate self.prefetch on redirect

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

fixes RequestsTestSuite.test_prefetch_redirect_bug

authored by Shivaram Lingamneni · committed by Shivaram Lingamneni · parent 030ead9 · Browse files · 1 file+2 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+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:requests/models.py+2 added-1 removed
289 unmodified lines
290 _poolmanager=self._poolmanager,291 proxies=self.proxies,292 verify=self.verify,293 session=self.session,294 cert=self.cert294 cert=self.cert,295 prefetch=self.prefetch,296 )297298 request.send()299 r = request.response
552 unmodified lines