Copy a PreparedRequest's CookieJar reliably
Before adoption: this commit came in with the history the project adopted, so no landing records it.
When a PreparedRequests's cookie jar is not a RequestsCookieJar instance, it will not have a "copy" method. By adding _copy_cookie_jar we can reliably copy cookie jars so that we have an actual copy instead of the same instance on different prepared requests. This also updates the RequestsCookieJar.update logic to create copies of cookies from the other jar. Closes #2527
authored by Ian Cordasco · committed by Ian Cordasco · parent 18e678c · Browse files · 2 files+19 added−3 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+19 added−3 removed
- other:+19 added−3 removed